Re: [PATCH] prctl.2: doc PR_SET/GET_IO_FLUSHER - V4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/2/20 5:46 AM, Bart Van Assche wrote:
> On 2020-04-01 19:08, Mike Christie wrote:
>> +.TP
>> +.B PR_GET_IO_FLUSHER (Since Linux 5.6)
>> +Return as the function result 1 if the caller is in the IO_FLUSHER state and
>> +0 if not.
> 
> Although I'm not at all a language expert, the word order at the start
> of the above sentence seems a bit weird to me?

Thanks for spotting that Bart. I changed the text to:

              If a user  process  is  involved  in  the  block  layer  or
              filesystem I/O path, and can allocate memory while process‐
              ing I/O requests it must set arg2 to 1.  This will put  the
              process  in  the  IO_FLUSHER state, which allows it special
              treatment to make progress when allocating memory.  If arg2
              is  0, the process will clear the IO_FLUSHER state, and the
              default behavior will be used.

Cheers,

Michael


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux