[BACK]Return to subr_pool.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / kern

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/kern/subr_pool.c between version 1.151 and 1.152

version 1.151, 2008/02/14 11:45:24 version 1.152, 2008/03/02 12:19:58
Line 1288  pool_do_put(struct pool *pp, void *v, st
Line 1288  pool_do_put(struct pool *pp, void *v, st
         if (ph->ph_nmissing == 0) {          if (ph->ph_nmissing == 0) {
                 pp->pr_nidle++;                  pp->pr_nidle++;
                 if (pp->pr_npages > pp->pr_minpages &&                  if (pp->pr_npages > pp->pr_minpages &&
                     (pp->pr_npages > pp->pr_maxpages ||                      pp->pr_npages > pp->pr_maxpages) {
                      pa_starved_p(pp->pr_alloc))) {  
                         pr_rmpage(pp, ph, pq);                          pr_rmpage(pp, ph, pq);
                 } else {                  } else {
                         LIST_REMOVE(ph, ph_pagelist);                          LIST_REMOVE(ph, ph_pagelist);

Legend:
Removed from v.1.151  
changed lines
  Added in v.1.152

CVSweb <webmaster@jp.NetBSD.org>