From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934828AbXGRRdZ (ORCPT ); Wed, 18 Jul 2007 13:33:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755769AbXGRRdS (ORCPT ); Wed, 18 Jul 2007 13:33:18 -0400 Received: from iriserv.iradimed.com ([72.242.190.170]:38685 "EHLO iradimed.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756119AbXGRRdR (ORCPT ); Wed, 18 Jul 2007 13:33:17 -0400 Message-ID: <469E4EE9.80003@cfl.rr.com> Date: Wed, 18 Jul 2007 13:33:29 -0400 From: Phillip Susi User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: Alan Cox CC: Matt Mackall , Rene Herman , Jeremy Fitzhardinge , Jesper Juhl , Ray Lee , Linux Kernel Mailing List , William Lee Irwin III , David Chinner Subject: Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...? References: <200707111916.35036.jesper.juhl@gmail.com> <2c0942db0707112159v3ee2cd83i74759c7138e273f7@mail.gmail.com> <9a8748490707121324q3b3e6e65ye14ab8e7f089d999@mail.gmail.com> <4696C89E.4010002@goop.org> <9a8748490707121925w5fb22c0o61068f06d66d5845@mail.gmail.com <20070714191737.GA11166@waste.org> <469E4BB0.8010203@cfl.rr.com> <20070718183252.264fe6b2@the-village.bc.nu> In-Reply-To: <20070718183252.264fe6b2@the-village.bc.nu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 18 Jul 2007 17:33:29.0483 (UTC) FILETIME=[C1442DB0:01C7C961] X-TM-AS-Product-Ver: SMEX-7.5.0.1243-5.0.1021-15306.000 X-TM-AS-Result: No--6.203800-5.000000-31 X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Alan Cox wrote: >> Why do the two pages have to be physically contiguous? The stack just >> needs to be two contiguous pages in virtual memory, but they can map to >> any two pages anywhere in physical memory. > > Historically we allowed DMA off the stack on old x86 systems. Removing > that while a good idea would take a lot of auditing. We also have a very > limited vmalloc window for mapped pages and filling that with stacks > would be bad. Wow, DMA off the stack? That's just crazy.