Re: [mm-unstable v7 12/18] mm/madvise: add MADV_COLLAPSE to process_madvise()

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

 



On Wed,  6 Jul 2022 16:59:30 -0700 "Zach O'Keefe" <zokeefe@xxxxxxxxxx> wrote:

> Allow MADV_COLLAPSE behavior for process_madvise(2) if caller has
> CAP_SYS_ADMIN or is requesting collapse of it's own memory.

This is maximally restrictive.  I didn't see any discussion of why this
was chosen either here of in the [0/N].  I expect that people will be
coming after us to relax this.

So please do add (a lot of) words explaining this decision, and
describing what might be done in the future to relax it.




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux