Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-34105

man-page: madvise(2) can return -EBUSY on MADV_SOFT_OFFLINE requests

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • None
    • Low
    • ZStream
    • 6f505f11556a13dd229dea904f54da2c1f3f90d4
    • 1
    • rhel-pt-c-libs
    • ssg_platform_tools
    • 4
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • PT C Libraries Refinement
    • Regression Exception
    • None
    • None
    • Unspecified Release Note Type - Unknown
    • None

      During the analysis performed at

              LTP: madvise11 sometimes fails with madvise(..., MADV_SOFT_OFFLINE) returning -EBUSY

              https://issues.redhat.com/browse/RHEL-9292

      Rafael Aquini and I noticed that the man-pages for madvise(2) do not mention the possibility of madvise() returning EBUSY as the result of a soft offlining (MADV_SOFT_OFFLINE) request. That is the case upstream, c9s and RHEL9.x and RHEL-8.x kernels that support MADV_SOFT_OFFLINE request for madvise().

      Our man-pages package comes from http://www.kernel.org/doc/man-pages/. So the solution should first be posted and accepted there and then backported to the required RHEL streams.

      The details for the cases where -EBUSY can be returned are described in RHEL-9292.

      Also, there is an associated issue for the LTP test madvise11.c that fails because the test does not handle -EBUSY in the right way: https://issues.redhat.com/browse/RHEL-34106

       

              glibc-bugzilla Platform Tools - Libraries Bot
              rhn-engineering-lgoncalv Luis Goncalves
              qe-baseos-tools-bugs@redhat.com qe-baseos-tools-bugs@redhat.com qe-baseos-tools-bugs@redhat.com qe-baseos-tools-bugs@redhat.com
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated: