Is GFP_HIGHUSER[_MOVABLE] | __GFP_NOMEMALLOC) & ~__GFP_DIRECT_RECLAIM supported?

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

 



virtio-balloon wants to try allocation only when that allocation does not cause
OOM situation. Since there is no gfp flag which succeeds allocations only if
there is plenty of free memory (i.e. higher watermark than other requests),
virtio-balloon needs to watch for OOM notifier and release just allocated memory
when OOM notifier is invoked.

Currently virtio-balloon is using

  GFP_HIGHUSER[_MOVABLE] | __GFP_NOMEMALLOC | __GFP_NORETRY

for allocation, but is

  GFP_HIGHUSER[_MOVABLE] | __GFP_NOMEMALLOC) & ~__GFP_DIRECT_RECLAIM

supported (from MM subsystem's point of view) ?

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[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