Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Sep 2011 21:46:43 +0200
From:      Robert Millan <rmh@debian.org>
To:        John Baldwin <jhb@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   [PATCH] Fix NKPT kernel config option
Message-ID:  <CAOfDtXPDAyeZX7adW5Hixa2XwyOFgic=FRU6ipUHZcY15JVQaQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--90e6ba1efeae1ea9e604abe681c2
Content-Type: text/plain; charset=UTF-8

Hi John,

Thanks for adding an NKPT kernel config option (r225194), but this
doesn't seem to work unless opt_pmap.h is included, see attached
patch.

Without this include, there's no garantee that the NKPT definition code:

#ifndef NKPT
#define NKPT            32
#endif

will use the value specified in config.  Or worse, it may even use
different values for different .c files.

-- 
Robert Millan

--90e6ba1efeae1ea9e604abe681c2
Content-Type: text/x-patch; charset=US-ASCII; name="nkpt.diff"
Content-Disposition: attachment; filename="nkpt.diff"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_gs259dqo0

SW5kZXg6IGtmcmVlYnNkLTkvc3lzL2FtZDY0L2luY2x1ZGUvcG1hcC5oCj09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0t
IGtmcmVlYnNkLTkub3JpZy9zeXMvYW1kNjQvaW5jbHVkZS9wbWFwLmgJMjAxMS0wOC0zMSAyMjoy
NjowNi4wMDAwMDAwMDAgKzAyMDAKKysrIGtmcmVlYnNkLTkvc3lzL2FtZDY0L2luY2x1ZGUvcG1h
cC5oCTIwMTEtMDktMDEgMjE6MzE6NDEuNjUwOTAyMjc0ICswMjAwCkBAIC00NSw2ICs0NSw4IEBA
CiAjaWZuZGVmIF9NQUNISU5FX1BNQVBfSF8KICNkZWZpbmUJX01BQ0hJTkVfUE1BUF9IXwogCisj
aW5jbHVkZSAib3B0X3BtYXAuaCIKKwogLyoKICAqIFBhZ2UtZGlyZWN0b3J5IGFuZCBwYWdlLXRh
YmxlIGVudHJpZXMgZm9sbG93IHRoaXMgZm9ybWF0LCB3aXRoIGEgZmV3CiAgKiBvZiB0aGUgZmll
bGRzIG5vdCBwcmVzZW50IGhlcmUgYW5kIHRoZXJlLCBkZXBlbmRpbmcgb24gYSBsb3Qgb2YgdGhp
bmdzLgo=
--90e6ba1efeae1ea9e604abe681c2--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOfDtXPDAyeZX7adW5Hixa2XwyOFgic=FRU6ipUHZcY15JVQaQ>