Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request] kmem -S: list full slab objects even usr tracking (SLAB_STORE_USER) is not enabled. #39

Open
changbindu opened this issue Sep 8, 2019 · 3 comments

Comments

@changbindu
Copy link

On full slab is tracked if SLAB_STORE_USER is not enabled. So cann't get full slabs via the node 'full' list. And by now crash just print '(not tracked)' for those full slabs.

But, checking full slab objects sometimes is usefull. And we can still find them by looking up all pages with PG_slab set and the page::slab_cache matches current slab cache. Then just print all objects in them.

@crash-utility
Copy link
Collaborator

It is done that way by design, primarily due to time concerns to walk through the vmemmap array, especially on increasingly common systems with huge amounts of memory. It might be worth it if only one slab cache is specified, or by using another option letter in conjunction with -S. If you have a proposed patch, please post it on the crash-utility mailing list at:

https://www.redhat.com/mailman/listinfo/crash-utility

I don't accept merge requests via github.

Thanks,
Dave

@changbindu
Copy link
Author

I don't have the patch yet. When I get a time to do that I will send it to you via maillist. Thanks.

@changbindu
Copy link
Author

Another short solution is printing slab name for each slab page for cmd " kmem -p". Then we can check those pages manually.

I have done this work. I you agree this I will send the patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant