Re: [BUG] a bug in slub on 3.2 and 3.4

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

 



On Wed, 2015-06-03 at 11:37 +0800, Zefan Li wrote:
> I think 3.2 and 3.4 need to backport 43d77867a4f3 ("slub: refactoring unfreeze_partials()")
> 
> On 3.4 kernel, we found there are tens of thousands of free task_struct slabs
> in the partial list of node 0 when they should have been discarded, which is
> essentially a huge memory leak.
> 
> Looking into the code, seems the cause is, we check n->nr_partial but the page
> might be in n2 where n != n2, and then the page is added to n2->partial though
> n2->partial > s->min_partial.
[...]

Thanks, I've queued this up for 3.2 with a small adjustment.

Ben.

-- 
Ben Hutchings
One of the nice things about standards is that there are so many of them.

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]