Re: slab-nomerge (was Re: [git pull] device mapper changes for 4.3)

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

 



On Fri, Sep 4, 2015 at 12:59 AM, Sergey Senozhatsky
<sergey.senozhatsky.work@xxxxxxxxx> wrote:
>
> But I went through the corresponding slabinfo (I track slabinfo too); and yes,
> zero unused objects.

Ahh. I should have realized - the number you are actually tracking is
meaningless. The "unused objects" thing is not really tracked well.

/proc/slabinfo ends up not showing the percpu queue state, so things
look "used" when they are really just on the percpu queues for that
slab.So the "unused" number you are tracking is not really meaningful,
and the zeroes you are seeing is just a symptom of that: slabinfo
isn't "exact" enough.

So you should probably do the statistics on something that is more
meaningful: the actual number of pages that have been allocated (which
would be numslabs times pages-per-slab).

                     Linus

--
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]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]