From: Carl-Daniel Hailfinger <c-d.hailfinger.kernel.2004@gmx.net>
To: Hans Reiser <reiser@namesys.com>
Cc: "Christophe Saout" <christophe@saout.de>,
"Markus Törnqvist" <mjt@nysv.org>,
"Vladimir V. Saveliev" <vs@namesys.com>,
"David Dabbs" <david@dabbs.net>,
reiserfs-list@namesys.com
Subject: Re: mongo_copy: cp: cannot stat `/mnt/testfs/testdir0-0-0/f92': Input/output error
Date: Thu, 05 Aug 2004 04:24:47 +0200 [thread overview]
Message-ID: <41119A6F.9010703@gmx.net> (raw)
In-Reply-To: <411190F6.8030602@namesys.com>
Hans Reiser schrieb:
> Christophe Saout wrote:
>
>> Am Mittwoch, den 04.08.2004, 16:57 -0700 schrieb Hans Reiser:
>>
>>
>>>>> V4 likes stack. If someone can convince me that kmalloc is as
>>>>> efficient as stack, I'd like to hear it, because I know I lack
>>>>> expertise on the topic.
>>>>
>>>> The disassembled fast path of kmalloc (with a size of the object known
>>>> at compile time) fits on one page. Most of the time it will just return
>>>> a pointer from a pool of cached and cache-hot objects.
>>>
>>> whereas using stack is 0 instructions or?
>>
>> More or less. But who's counting? ;-)
>
> 0 is less than a page, by a lot, if done a lot, and we do.
Yes, but... (there's always a but) certain hardware drivers also use a lot
of stack. If you manage to get another (hardware) interrupt in a reiser4
path with >4k stack already used, it's very likely your machine will
explode even without 4k stacks.
And before you ask, some of these problems may be triggered intentionally.
IMHO no user should be able to trigger a kernel crash (maybe except when
writing to kernel memory).
Besides that, some time ago a discussion on linux-kernel about available
stack size without the 4KSTACKS option had very interesting results
(that's where the information in the above paragraphs came from).
Regards,
Carl-Daniel
--
http://www.hailfinger.org/
next prev parent reply other threads:[~2004-08-05 2:24 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-04 6:55 mongo_copy: cp: cannot stat `/mnt/testfs/testdir0-0-0/f92': Input/output error David Dabbs
2004-08-04 8:40 ` Hans Reiser
2004-08-04 8:51 ` Vladimir V. Saveliev
2004-08-04 8:59 ` Hans Reiser
2004-08-04 12:51 ` Vladimir V. Saveliev
2004-08-04 18:38 ` mjt
2004-08-04 21:47 ` Hans Reiser
2004-08-04 22:46 ` Christophe Saout
2004-08-04 23:57 ` Hans Reiser
2004-08-05 0:06 ` Christophe Saout
2004-08-05 0:14 ` Lamont R. Peterson
2004-08-05 1:44 ` Hans Reiser
2004-08-05 2:24 ` Carl-Daniel Hailfinger [this message]
2004-08-05 13:38 ` Chris Mason
2004-08-04 14:14 ` David Dabbs
2004-08-04 17:38 ` Hans Reiser
2004-08-04 17:46 ` Chris Mason
2004-08-04 18:24 ` David Dabbs
2004-08-04 10:02 ` mjt
-- strict thread matches above, loose matches on Subject: below --
2004-08-04 17:41 David Dabbs
2004-08-04 18:11 ` Hans Reiser
2004-08-04 18:29 ` David Dabbs
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=41119A6F.9010703@gmx.net \
--to=c-d.hailfinger.kernel.2004@gmx.net \
--cc=christophe@saout.de \
--cc=david@dabbs.net \
--cc=mjt@nysv.org \
--cc=reiser@namesys.com \
--cc=reiserfs-list@namesys.com \
--cc=vs@namesys.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.