Thread (35 messages) 35 messages, 4 authors, 2018-03-26

Re: [bpf-next V5 PATCH 11/15] page_pool: refurbish version of page_pool code

From: Jesper Dangaard Brouer <hidden>
Date: 2018-03-26 15:19:46

On Fri, 23 Mar 2018 07:55:37 -0700
Eric Dumazet [off-list ref] wrote:
rcu grace period before freeing huge quantitites of pages is
problematic and could be used by syzbot to OOM the host.
Okay. Adjusted code to empty ring "right-way" when driver calls
destroy, and then only RCU delay/free the page_pool pointer and also
free/empty ring for pages of any in-flight producers.

-- 
Best regards,
  Jesper Dangaard Brouer
  MSc.CS, Principal Kernel Engineer at Red Hat
  LinkedIn: http://www.linkedin.com/in/brouer
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help