From: Stas Sergeev <stsp@aknet.ru>
To: linux-msdos@vger.kernel.org
Subject: Re: Crashes if running WordPerfect 5.1
Date: Sat, 19 Jun 2004 15:01:24 +0400 [thread overview]
Message-ID: <40D41D04.1000000@aknet.ru> (raw)
Hello.
Bart Oldeman wrote:
>> don't need IPC SHM, and pagemalloc perhaps doesn't really hurt?
> I think I would personnally like it best if there wasn't a pagealloc
> either, but just multiple fd's.
After all I changed my mind again and
think it is not a good idea any more.
By using the kernel's allocator, we assume
it suits whatever the DOS prog may expect,
in particular that the subsequent malloc()s
returns the higher addresses each. There
were the programs that used to crash when
the subsequent malloc() was returning the
address below the one of the previous malloc.
I was reading this:
http://www.uwsg.iu.edu/hypermail/linux/kernel/0406.2/0874.html
In particular the following makes me to worry:
---
0xbfxxxxxx ... _end_ of all mmaps, new mmaps go below old ones
---
So it seems the kernel guys may break that
our assumption and we'll be screwed. I don't
think we have to propagate the DOS requirements
to the kernel and ask the folks to not do this.
They should not care about what DOS progs do.
Instead we have to wrap that functionality
ourselves and provide whatever DOS progs are
expecting from us.
That's what pagemalloc did. Perhaps dropping
it was a premature decision. To stay on a safe
side, I think we have to put it back.
next reply other threads:[~2004-06-19 11:01 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-19 11:01 Stas Sergeev [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-06-01 4:25 Crashes if running WordPerfect 5.1 Stas Sergeev
2004-06-01 3:53 Stas Sergeev
2004-05-31 18:06 Stas Sergeev
2004-05-30 13:41 Stas Sergeev
2004-05-31 21:06 ` Bart Oldeman
2004-05-30 0:29 Stas Sergeev
2004-05-30 10:55 ` Bart Oldeman
2004-05-30 11:40 ` Bart Oldeman
2004-05-29 18:13 Stas Sergeev
2004-05-29 20:47 ` Bart Oldeman
2004-05-31 16:41 ` Lars Bjørndal
2004-05-29 15:49 Lars Bjørndal
2004-05-29 16:28 ` Bart Oldeman
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=40D41D04.1000000@aknet.ru \
--to=stsp@aknet.ru \
--cc=linux-msdos@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