Messages in this thread |  | | Date | Thu, 17 Jan 2013 21:22:18 +0000 | From | Christoph Lameter <> | Subject | Re: [RFC][PATCH] slub: Check for page NULL before doing the node_match check |
| |
On Thu, 17 Jan 2013, Steven Rostedt wrote:
> Anyway, looking at where this crashed, it seems that the page variable > can be NULL when passed to the node_match() function (which does not > check if it is NULL). When this happens we get the above panic. > > As page is only used in slab_alloc() to check if the node matches, if > it's NULL I'm assuming that we can say it doesn't and call the > __slab_alloc() code. Is this a correct assumption?
c->page should only be NULL when c->freelist == NULL but obviously there are race conditions where c->freelist may not have been zapped but c->page was.
|  |