Re: [PATCH] kernel.h: Add non_block_start/end()

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

 



Quoting Michal Hocko (2019-05-22 07:34:42)
> On Wed 22-05-19 06:06:31, Tetsuo Handa wrote:
> [...]
> > Since OOM notifier will be called after shrinkers are attempted,
> > can i915 move from OOM notifier to shrinker?
> 
> That would be indeed preferable. OOM notifier is an API from hell.

We were^W are still trying to make the shrinker nonblocking to avoid
incurring horrible latencies for light direct reclaim. The consequence
of avoiding heavy work in the shrinker is that we moved it to the oom
notifier as being the last chance we have to return all (can be literally
all) the system memory.

The alternative to using a separate oom notifier would be more
reclaim/shrinker phases?
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux