mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
To: Bill Davidsen <davidsen@tmr.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.6-rc3-mm2 (4KSTACK)
Date: Wed, 12 May 2004 01:27:33 +0200	[thread overview]
Message-ID: <200405120127.33391.bzolnier@elka.pw.edu.pl> (raw)
In-Reply-To: <Pine.LNX.3.96.1040511121328.16430C-100000@gatekeeper.tmr.com>

On Tuesday 11 of May 2004 18:24, Bill Davidsen wrote:
> On Sun, 9 May 2004, Bartlomiej Zolnierkiewicz wrote:
> > On Sunday 09 of May 2004 19:00, Bill Davidsen wrote:
> > > No it's not that simple, this has nothing to do with binary modules,
> > > and everything to do with not making 4k stack the only available
> > > configuration in 2.6. Options are fine, but in a stable kernel series I
> > > don't think think that the default should change part way into the
> > > series, and certainly the availability of the original functionality
> > > shouldn't go away, which is what I read AKPMs original post to state as
> > > the goal.
> >
> > What functionality are you talking about?
> > We don't care about out of tree kernel code (be it GPL or Proprietary).
>
> Let me say this one more time, since you keep changing the topic so you
> can say that you don't care about something I never mentioned. I am
> **NOT** talking about binary modules, I am **NOT** talking about out of
> tree code, I am talking about applications which make calls that cause the
> **IN TREE** code to use more than 4k.

No need to flame, I really didn't know what you were talking about.

I agree that this is a very good argument against pushing this
change to mainline quickly (proposed originally by AKPM).

> > > Making changes to the kernel which will break existing applications
> > > seems to be the opposite of "stable." People who want a new kernel for
> > > fixes don't usually want to have to upgrade and/or rewrite their
> > > applications. The "we change the system interface everything we fix a
> >
> > You don't understand what the patch is really about.
> >
> > This is kernel stack not the user-space one so
> > this change can't brake any application.
>
> Right, the kernel code does not contain any places where the data passed
> in a system call isn't reflected in stack usage.

It won't break applications it will break kernel first. ;-)

You need to fix kernel code not the user space.

> > > bug" approach comes from a well-known software company, but shouldn't
> > > be the way *good* software is done.
> >
> > It doesn't change any kernel interface visible to user-space
> > and stack hungry kernel code needs fixing anyway.
>
> And what better way to detect it than to release it in a stable kernel.
> Don't bother to say "don't use -mm" AKPM has said it is intended for the
> stable kernel, work or not.

I see no problem with this approach (this patch in -mm then in linus')
but issues mentioned by you need fixing first.  I'm not proposing to
push it to mainline NOW - it needs to be done CAREFULLY but CAN be
done in 2.6 (i.e. 2.6.15).

I guess this is what we can't agree on.

> ===
> Third request for info
> ===
> I still haven't seen any objective data showing that there is any
> measureable benefit from this, although I agree that smaller is good
> practice, I don't think that throwing in a feature in a stable kernel,
> which has been reported by others to corrupt data, is the best way to do
> it.

There was some evidence from AKPM (and Arjan AFAIR).
[ BTW wasn't the corruption only seen with nvidia module? ]
I think we can prevent it by adding something ala 4kstack flag
to the module.

Regards,
Bartlomiej


  reply	other threads:[~2004-05-11 23:30 UTC|newest]

Thread overview: 94+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-05  8:31 2.6.6-rc3-mm2 Andrew Morton
2004-05-05  8:46 ` 2.6.6-rc3-mm2 Fabio Coatti
2004-05-05  9:07 ` 2.6.6-rc3-mm2 Onur Kucuk
2004-05-05 11:12 ` 2.6.6-rc3-mm2 (4KSTACK) Dominik Karall
2004-05-05 11:10   ` Ralf Hildebrandt
2004-05-05 11:13   ` Jan-Benedict Glaw
2004-05-05 11:24   ` Arjan van de Ven
2004-05-05 11:30   ` Andrew Morton
2004-05-05 12:09     ` Rene Herman
2004-05-05 16:47     ` Steve Lord
2004-05-05 18:48       ` Felipe Alfaro Solana
2004-05-05 19:51       ` Arjan van de Ven
2004-05-05 19:56         ` Steve Lord
2004-05-05 19:59         ` Arjan van de Ven
2004-05-06 17:44       ` Max Valdez
2004-05-05 20:31     ` Bill Davidsen
2004-05-05 23:04       ` Bartlomiej Zolnierkiewicz
2004-05-06 12:55         ` Norberto Bensa
2004-05-06 13:33           ` Bartlomiej Zolnierkiewicz
2004-05-06 18:47             ` Norberto Bensa
2004-05-09 17:00         ` Bill Davidsen
2004-05-09 18:25           ` Bartlomiej Zolnierkiewicz
2004-05-11 16:24             ` Bill Davidsen
2004-05-11 23:27               ` Bartlomiej Zolnierkiewicz [this message]
2004-05-11 23:50                 ` Andrew Morton
2004-05-12  0:05                   ` Valdis.Kletnieks
2004-05-12 16:07                   ` Bill Davidsen
2004-05-12 16:20                     ` Arjan van de Ven
2004-05-15 19:48                       ` Bill Davidsen
2004-05-06 10:09       ` Helge Hafting
2004-05-06 12:54         ` Bill Davidsen
2004-05-05 18:22   ` Valdis.Kletnieks
2004-05-05 21:51     ` Jörn Engel
2004-05-06 15:18       ` Valdis.Kletnieks
2004-05-06 15:40         ` Arjan van de Ven
2004-05-06 16:29           ` Valdis.Kletnieks
2004-05-07  9:50             ` Helge Hafting
2004-05-07  0:37           ` Paul Jakma
2004-05-07  2:50             ` Andrew Morton
2004-05-07  3:44               ` Paul Jakma
2004-05-07  3:58                 ` Andrew Morton
2004-05-07  7:05                   ` Arjan van de Ven
2004-05-07 15:26                   ` Martin J. Bligh
2004-05-07 19:41                     ` Andrew Morton
2004-05-07  6:51             ` Arjan van de Ven
2004-05-07 15:13               ` Dave Jones
2004-05-07 15:47                 ` Steve Lord
2004-05-07 15:59                   ` Arjan van de Ven
2004-05-07 16:09                     ` J. Bruce Fields
2004-05-07 16:11                     ` Steve Lord
2004-05-07 16:28                       ` Jörn Engel
2004-05-07 19:45               ` Paul Jakma
2004-05-07 19:48                 ` Paul Jakma
2004-05-10 19:49           ` Bill Davidsen
2004-05-10 20:31             ` Horst von Brand
2004-05-11  2:39               ` Andrew Morton
2004-05-11  8:45             ` Helge Hafting
2004-05-11 17:59               ` several messages Bill Davidsen
2004-05-06 16:03         ` 2.6.6-rc3-mm2 (4KSTACK) Malte Schröder
2004-05-06 16:13           ` Valdis.Kletnieks
2004-05-06 17:05         ` Matt Mackall
2004-05-05 13:31 ` 2.6.6-rc3-mm2 [delete-posix-...-unifix-message] Paul Jackson
2004-05-05 15:33 ` 2.6.6-rc3-mm2 Christoph Hellwig
2004-05-05 17:59   ` 2.6.6-rc3-mm2 Arnd Bergmann
2004-05-05 16:06 ` 2.6.6-rc3-mm2 Paul Jackson
2004-05-05 16:40   ` 2.6.6-rc3-mm2 Christoph Hellwig
2004-05-05 16:49     ` 2.6.6-rc3-mm2 Paul Jackson
2004-05-05 20:16   ` 2.6.6-rc3-mm2 R. J. Wysocki
2004-05-06  1:51     ` 2.6.6-rc3-mm2 Paul Jackson
2004-05-06 19:38       ` 2.6.6-rc3-mm2 R. J. Wysocki
2004-05-05 17:10 ` 2.6.6-rc3-mm2 (compile stats) John Cherry
2004-05-05 17:33 ` 2.6.6-rc3-mm2 [sparc, sparc64, mips syscall broken] Paul Jackson
2004-05-05 23:29 ` 2.6.6-rc3-mm2: vermagic compile error if CONFIG_MODULES=n Adrian Bunk
2004-05-06 14:53 ` 2.6.6-rc3-mm2 Antonio Dolcetta
2004-05-06 15:12   ` 2.6.6-rc3-mm2 Andrew Morton
2004-05-06 15:56     ` 2.6.6-rc3-mm2 Antonio Dolcetta
2004-05-06 17:26       ` 2.6.6-rc3-mm2 Adrian Bunk
2004-05-06 21:46 ` 2.6.6-rc3-mm2 Bruce Guenter
2004-05-07  2:52   ` 2.6.6-rc3-mm2 Andrew Morton
2004-05-07  4:16     ` 2.6.6-rc3-mm2 Rusty Russell
2004-05-07 16:05       ` 2.6.6-rc3-mm2 Bruce Guenter
2004-05-07 20:13       ` 2.6.6-rc3-mm2 R. J. Wysocki
2004-05-08  6:09         ` 2.6.6-rc3-mm2 Andrew Morton
     [not found]           ` <200405081329.43017.rjwysocki@sisk.pl>
2004-05-08 11:31             ` 2.6.6-rc3-mm2 Andrew Morton
2004-05-08 16:25               ` 2.6.6-rc3-mm2 R. J. Wysocki
2004-05-08 11:43             ` 2.6.6-rc3-mm2 Andrew Morton
2004-05-08 12:16               ` 2.6.6-rc3-mm2 R. J. Wysocki
2004-05-08 16:59           ` 2.6.6-rc3-mm2 Bruce Guenter
2004-05-08 18:46             ` 2.6.6-rc3-mm2 Andrew Morton
2004-05-08 18:31 ` 2.6.6-rc3-mm2 Joseph Fannin
2004-05-06  9:06 2.6.6-rc3-mm2 (4KSTACK) h.verhagen
2004-05-06  9:12 h.verhagen
2004-05-06  9:48 Sid Boyce
     [not found] <1Sq6O-4gJ-25@gated-at.bofh.it>
     [not found] ` <1Sss1-7qC-53@gated-at.bofh.it>
     [not found]   ` <1SzjQ-4EY-21@gated-at.bofh.it>
     [not found]     ` <1SCB0-7kE-11@gated-at.bofh.it>
     [not found]       ` <1SSZ6-3vy-13@gated-at.bofh.it>
     [not found]         ` <1STip-3L3-11@gated-at.bofh.it>
     [not found]           ` <1T1IW-2eH-3@gated-at.bofh.it>
     [not found]             ` <1T7vo-6C2-7@gated-at.bofh.it>
     [not found]               ` <1TfiY-4s1-17@gated-at.bofh.it>
     [not found]                 ` <1TfVX-4T4-51@gated-at.bofh.it>
     [not found]                   ` <1Tg5k-55S-19@gated-at.bofh.it>
     [not found]                     ` <1Tgf4-5cp-27@gated-at.bofh.it>
2004-05-07 18:38                       ` Andi Kleen

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=200405120127.33391.bzolnier@elka.pw.edu.pl \
    --to=b.zolnierkiewicz@elka.pw.edu.pl \
    --cc=davidsen@tmr.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

all inboxes | Powered by JetHome®