bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: oskit-mach: vm_map_copyout crash


From: Daniel Wagner
Subject: Re: oskit-mach: vm_map_copyout crash
Date: Thu, 15 Nov 2001 21:49:07 +0100
User-agent: Mutt/1.2.5i

The patch removes the not needed assertion. 

wagi



2001-11-15  Daniel Wagner  <wagi@gmx.ch>

        * oskit/osenv_mem.c (free_for_oskit): Don't test for the 
        OSENV_NONBLOCKING flag. Instead decide on the address which flavor 
        of memory is to be freed.



Index: osenv_mem.c
===================================================================
RCS file: /cvsroot/hurd/gnumach/oskit/Attic/osenv_mem.c,v
retrieving revision 1.1.2.6
diff -p -c -r1.1.2.6 osenv_mem.c
*** osenv_mem.c 2000/10/28 02:27:06     1.1.2.6
--- osenv_mem.c 2001/11/15 20:40:24
*************** free_for_oskit (void *block, osenv_memfl
*** 194,203 ****
         Always go directly to physical memory.  */
      flags |= OSENV_VIRT_EQ_PHYS|OSENV_PHYS_WIRED|OSENV_PHYS_CONTIG;
  
-   if (in_oskit_interrupt)
-     /* The oskit documentation says an interrupt caller must set the flag.  */
-     assert (flags & OSENV_NONBLOCKING);
- 
    if ((oskit_addr_t) block < phys_mem_max)
      {
        /* We got physical memory directly from the lmm.  */
--- 194,199 ----




-- 
Daniel Wagner                              "use quit to exit"
email: wagi@gmx.ch

GnuPG: 1024D/DCDE890A (public key available on any keyserver)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]