In message <201007281056.43100.hsela...@c2i.net>, Hans Petter Selasky writes:
>When is it safe to free memory which has been mmapped to a user-space
>application? After close() or during close() or before close() or when the
>process/thread terminates?
Assuming you mean memory activated via dev
From close(3):
The close(2) system call does not unmap pages, see munmap(2) for further
information.
The pages can be freed when the process terminates.
-- Jille
Op 28-7-2010 10:56, Hans Petter Selasky schreef:
Hi,
When is it safe to free memory which has been mmapped to a user-spac
:The following error shows up in my messages log when mpg123 is playing
:songs off a mounted CD ROM when the laptop is suspended and resumed.
:
:Jan 23 11:21:04 henny /kernel: resumed from suspended mode (slept
:00:36:53)
:Jan 23 11:21:04 henny /kernel: ata0: resetting devices .. done
:Jan 23 11:2
On 6 Jun 1999, Joel Ray Holveck wrote:
> >> I just noticed (kernel&world from friday) that locate always cores
> >> dump:
> >> $ locate xxx
> >> Segmentation fault (core dumped)
> >> The problem disappears if I recompile locate without the -DMMAP
> >> option.
> > Running on th
>> I just noticed (kernel&world from friday) that locate always cores
>> dump:
>> $ locate xxx
>> Segmentation fault (core dumped)
>> The problem disappears if I recompile locate without the -DMMAP
>> option.
> Running on the very latest current, it does not work for me.
By 'i
On Sun, 6 Jun 1999, Jean-Marc Zucconi wrote:
> I just noticed (kernel&world from friday) that locate always cores
> dump:
> $ locate xxx
> Segmentation fault (core dumped)
> $ gdb -c locate.core /usr/bin/locate
> Program terminated with signal 11, Segmentation fault.
> (gdb)