Date: Sat, 12 Apr 2008 20:16:01 +0200 From: Roman Divacky <rdivacky@FreeBSD.org> To: Robert Watson <rwatson@FreeBSD.org> Cc: Julian Elischer <julian@elischer.org>, FreeBSD Current <current@FreeBSD.org> Subject: Re: stack hogs in kernel Message-ID: <20080412181601.GA14472@freebsd.org> In-Reply-To: <20080412191300.E7693@fledge.watson.org> References: <48002444.4030505@elischer.org> <20080412191300.E7693@fledge.watson.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Apr 12, 2008 at 07:14:21PM +0100, Robert Watson wrote: > > On Fri, 11 Apr 2008, Julian Elischer wrote: > > >0xc05667e3 kldstat [kernel]: 2100 > >0xc07214f8 sendsig [kernel]: 1416 > >0xc04fb426 ugenread [kernel]: 1200 > >0xc070616b ipmi_smbios_identify [kernel]: 1136 > >0xc050bd26 usbd_new_device [kernel]: 1128 > >0xc0525a83 pfs_readlink [kernel]: 1092 > >0xc04fb407 ugenwrite [kernel]: 1056 > >0xc055ea33 prison_enforce_statfs [kernel]: 1044 > > This one, at least, is due to an issue Roman pointed out on hackers@ in the > last 24 hours -- a MAXPATHLEN sized buffer on the stack. Looks like > pfs_readlink() has the same issue. I plan to look at some of the MAXPATHLEN usage... I guess we can shave a few tens of KBs from the kernel (static size and runtime size). roman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080412181601.GA14472>