From: Ingo Molnar <mingo@elte.hu>
To: Avi Kivity <avi@qumranet.com>
Cc: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Make LIST_POISON less deadly
Date: Mon, 19 May 2008 15:22:50 +0200 [thread overview]
Message-ID: <20080519132250.GA20793@elte.hu> (raw)
In-Reply-To: <48317E2B.2030304@qumranet.com>
* Avi Kivity <avi@qumranet.com> wrote:
>> i'd suggest to add an ARCH_ILLEGAL_POINTER define instead, which
>> defaults to zero and gets added to pointer-ish poison values. That
>> makes it both simpler and also it does not need any include/asm
>> changes because ARCH_ILLEGAL_POINTER can be set from the Kconfig
>> space.
>
> Right.
>
> How much unmapped space do we have on i386 or other archs? The deltas
> added to ARCH_ILLEGAL_POINTER will have to be limited to that.
can we get away with having the offset default to zero, and all poison
values remain unchanged if that? Then 64-bit x86 could just set the
offset to 2^63 and we wont have to worry about 32-bit x86 at all ...
i.e. start small with this and only have an effect on 64-bit x86.
Ingo
next prev parent reply other threads:[~2008-05-19 13:38 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-18 15:38 Avi Kivity
2008-05-19 13:01 ` Ingo Molnar
2008-05-19 13:18 ` Avi Kivity
2008-05-19 13:22 ` Ingo Molnar [this message]
2008-05-19 13:35 ` Avi Kivity
2008-05-19 13:45 ` Avi Kivity
2008-05-19 19:04 ` Sam Ravnborg
2008-05-20 7:06 ` Avi Kivity
2008-05-20 11:24 ` Andi Kleen
2008-05-20 11:34 ` Avi Kivity
2008-05-20 11:49 ` Andi Kleen
2008-05-20 11:52 ` Avi Kivity
2008-05-20 12:04 ` Andi Kleen
2008-05-20 12:04 ` Ingo Molnar
2008-05-20 16:47 ` Pavel Machek
2008-05-20 16:50 ` Avi Kivity
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080519132250.GA20793@elte.hu \
--to=mingo@elte.hu \
--cc=akpm@osdl.org \
--cc=avi@qumranet.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome