Messages in this thread | | | Date | Tue, 7 Jun 2011 19:30:40 -0700 (PDT) | From | David Rientjes <> | Subject | Re: [PATCH v2] trace: Set __GFP_NORETRY flag for ring buffer allocating process |
| |
On Tue, 7 Jun 2011, Vaibhav Nagarnaik wrote:
> The tracing ring buffer is allocated from kernel memory. While > allocating a large chunk of memory, OOM might happen which destabilizes > the system. Thus random processes might get killed during the > allocation. > > This patch adds __GFP_NORETRY flag to the ring buffer allocation calls > to make it fail more gracefully if the system will not be able to > complete the allocation request. > > Signed-off-by: Vaibhav Nagarnaik <vnagarnaik@google.com>
Acked-by: David Rientjes <rientjes@google.com>
| |