From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stas Sergeev Subject: Re: Crashes if running WordPerfect 5.1 Date: Sun, 30 May 2004 04:29:38 +0400 Sender: linux-msdos-owner@vger.kernel.org Message-ID: <1085876978.25186.22.camel@lin> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-msdos@vger.kernel.org Hello. Bart Oldeman wrote: > The patch below also does the job. Why didn't the mremap() do the trick? > As far as I could see DPMI no longer > calls this function But it still uses mremap(), although not with a shared mem. > + /* expanded new memory is apparently not shared so can't be aliased. Cant this somehow happen that the EMS keeps the mapping on some handle and does the realloc on the same handle? New pages are not aliased, that's for sure, but is this always true also for the old ones?