[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.209 and 1.210

version 1.209, 2017/10/28 17:06:43 version 1.210, 2017/11/05 07:49:45
Line 830  pool_get(struct pool *pp, int flags)
Line 830  pool_get(struct pool *pp, int flags)
                 error = pool_grow(pp, flags);                  error = pool_grow(pp, flags);
                 if (error != 0) {                  if (error != 0) {
                         /*                          /*
                            * pool_grow aborts when another thread
                            * is allocating a new page. Retry if it
                            * waited for it.
                            */
                           if (error == ERESTART)
                                   goto startover;
   
                           /*
                          * We were unable to allocate a page or item                           * We were unable to allocate a page or item
                          * header, but we released the lock during                           * header, but we released the lock during
                          * allocation, so perhaps items were freed                           * allocation, so perhaps items were freed

Legend:
Removed from v.1.209  
changed lines
  Added in v.1.210

CVSweb <webmaster@jp.NetBSD.org>