Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys panic ex nihilo -- PR_NOWAITing for zerot



details:   https://anonhg.NetBSD.org/src/rev/e53677093dce
branches:  trunk
changeset: 827720:e53677093dce
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Thu Nov 09 22:34:07 2017 +0000

description:
panic ex nihilo -- PR_NOWAITing for zerot

diffstat:

 sys/sys/mbuf.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 642a879eb98f -r e53677093dce sys/sys/mbuf.h
--- a/sys/sys/mbuf.h    Thu Nov 09 22:22:58 2017 +0000
+++ b/sys/sys/mbuf.h    Thu Nov 09 22:34:07 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mbuf.h,v 1.171 2017/09/26 07:42:06 knakahara Exp $     */
+/*     $NetBSD: mbuf.h,v 1.172 2017/11/09 22:34:07 riastradh Exp $     */
 
 /*-
  * Copyright (c) 1996, 1997, 1999, 2001, 2007 The NetBSD Foundation, Inc.
@@ -516,7 +516,7 @@
 do {                                                                   \
        (m)->m_ext_storage.ext_buf = (char *)                           \
            pool_cache_get_paddr((pool_cache),                          \
-               (how) == M_WAIT ? (PR_WAITOK|PR_LIMITFAIL) : 0,         \
+               (how) == M_WAIT ? (PR_WAITOK|PR_LIMITFAIL) : PR_NOWAIT, \
                &(m)->m_ext_storage.ext_paddr);                         \
        if ((m)->m_ext_storage.ext_buf != NULL) {                       \
                MCLINITREFERENCE(m);                                    \



Home | Main Index | Thread Index | Old Index