Merge branch 'slab/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/penberg/slab-2.6
* 'slab/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/penberg/slab-2.6: slub: Fix partial count comparison confusion
This commit is contained in:
Коммит
47e180d652
|
@ -1854,7 +1854,7 @@ redo:
|
||||||
|
|
||||||
new.frozen = 0;
|
new.frozen = 0;
|
||||||
|
|
||||||
if (!new.inuse && n->nr_partial < s->min_partial)
|
if (!new.inuse && n->nr_partial > s->min_partial)
|
||||||
m = M_FREE;
|
m = M_FREE;
|
||||||
else if (new.freelist) {
|
else if (new.freelist) {
|
||||||
m = M_PARTIAL;
|
m = M_PARTIAL;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче