Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Nov 2012 10:08:12 -0800
From:      Peter Wemm <peter@wemm.org>
To:        Garrett Cooper <yanegomi@gmail.com>
Cc:        src-committers@freebsd.org, Eitan Adler <eadler@freebsd.org>, Alfred Perlstein <alfred@freebsd.org>, svn-src-all@freebsd.org, Alfred Perlstein <bright@mu.org>, svn-src-head@freebsd.org
Subject:   Re: svn commit: r242847 - in head/sys: i386/include kern
Message-ID:  <CAGE5yCq59i2DKHQh=Sq%2BjWAyYxFdpy7HSwzt_gyTS9n5zjdT-g@mail.gmail.com>
In-Reply-To: <CAGH67wSLxRAUWK=_7okoZPqxFnbT_82fTLQj0cohJY=6-5EQvA@mail.gmail.com>
References:  <201211100208.qAA28e0v004842@svn.freebsd.org> <CAF6rxg=HPmQS1T-LFsZ=DuKEqH30iJFpkz%2BJGhLr4OBL8nohjg@mail.gmail.com> <509DC25E.5030306@mu.org> <509E3162.5020702@FreeBSD.org> <509E7E7C.9000104@mu.org> <CAF6rxgmV8dx-gsQceQKuMQEsJ%2BGkExcKYxEvQ3kY%2B5_nSjvA3w@mail.gmail.com> <509E830D.5080006@mu.org> <509E847E.30509@mu.org> <CAF6rxgnfm4HURYp=O4MY8rB6H1tGiqJ3rdPx0rZ8Swko5mAOZg@mail.gmail.com> <509E8930.50800@mu.org> <CAF6rxgmabVuR0JoFURRUF%2Bed0hmT=LF_n5LXSip0ibU0hk6qWw@mail.gmail.com> <CAGE5yCouCWr4NKbgnjKfLcjc8EWqG0wRiSmXDDnrnM3%2BUc8KVQ@mail.gmail.com> <CAGH67wSLxRAUWK=_7okoZPqxFnbT_82fTLQj0cohJY=6-5EQvA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Nov 10, 2012 at 9:51 AM, Garrett Cooper <yanegomi@gmail.com> wrote:
> On Sat, Nov 10, 2012 at 9:45 AM, Peter Wemm <peter@wemm.org> wrote:
>>
>> On Sat, Nov 10, 2012 at 9:33 AM, Eitan Adler <eadler@freebsd.org> wrote:
>> > On 10 November 2012 12:04, Alfred Perlstein <bright@mu.org> wrote:
>> >> Sure, if you'd like you can help me craft that comment now?
>> >
>> > I think this is short and clear:
>> > ===
>> > Limit the amount of kernel address space used to a fixed cap.
>> > 384 is an arbitrarily chosen value that leaves 270 MB of KVA available
>> > of the 2 MB total. On systems with large amount of memory reduce the
>> > the slope of the function in order to avoiding exhausting KVA.
>> > ===
>>
>> That's actually completely 100% incorrect...
>
>
>     Would it be a good idea to reference the other commit ref. numbers done
> by dillon@ in the commit message, or would this be redundant?

Sadly not.  There's so many layers of indirection and obfuscation of
units that there isn't a commit message that explains the current
state.  You have to read the code and reverse the math.

-- 
Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI6FJV
"All of this is for nothing if we don't go to the stars" - JMS/B5
"If Java had true garbage collection, most programs would delete
themselves upon execution." -- Robert Sewell



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGE5yCq59i2DKHQh=Sq%2BjWAyYxFdpy7HSwzt_gyTS9n5zjdT-g>