Date: Mon, 08 Sep 2014 18:05:18 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 193465] [mips] malloc failures on mips, ath(4) Message-ID: <bug-193465-8-Abbqdhbtsb@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-193465-8@https.bugs.freebsd.org/bugzilla/> References: <bug-193465-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193465 Sean Bruno <sbruno@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Triage |In Discussion --- Comment #2 from Sean Bruno <sbruno@FreeBSD.org> --- Specifically, this is what I am doing to work around this issue: Index: sys/kern/kern_malloc.c =================================================================== --- sys/kern/kern_malloc.c (revision 271278) +++ sys/kern/kern_malloc.c (working copy) @@ -151,10 +151,21 @@ {1024, "1024", }, {2048, "2048", }, {4096, "4096", }, +#if PAGE_SIZE > 4096 {8192, "8192", }, +#if PAGE_SIZE > 8192 {16384, "16384", }, +#if PAGE_SIZE > 16384 {32768, "32768", }, +#if PAGE_SIZE > 32768 {65536, "65536", }, +#if PAGE_SIZE > 65536 +#error "Unsupported PAGE_SIZE" +#endif +#endif +#endif +#endif +#endif {0, NULL}, }; -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-193465-8-Abbqdhbtsb>