Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.development.apps > #193

Re: mmap unuseable for interactive application?

From Rainer Weikusat <rweikusat@mssgmbh.com>
Newsgroups comp.os.linux.development.apps
Subject Re: mmap unuseable for interactive application?
Date 2011-07-18 12:45 +0100
Message-ID <87livvzubf.fsf@sapphire.mobileactivedefense.com> (permalink)
References <d705ca54-6b36-4ca6-933f-76781332f53e@e20g2000prf.googlegroups.com> <87ei1ptes4.fsf@araminta.anjou.terraraq.org.uk> <ivvifn$5cj$1@speranza.aioe.org> <e1f15667-234a-4a7f-87e7-4e2b89d5031c@y13g2000prb.googlegroups.com>

Show all headers | View raw


Peter <excessphase@gmail.com> writes:
> On Jul 17, 1:59 pm, pac...@kosh.dhis.org (Alan Curry) wrote:
>> I don't want to seem like I'm endorsing the original incoherent rant,
>
> then stop being religous ("my faith is the only true one")

Did it occur to you that a follow-up to an 'incoherent rant' in this
ridicolous style serves as a perfect justification for this label?

> (my "incoherent rant" was caused by a problem, which is solved in
> other OSs since a long time)

It is also solved in Linux 'since a long time': Independent processes
operating on shared resource need to coordinate their actions,
otherwise, something's likely going to break rather sooner than later.

> and tell me, how to avoid the problem I mentioned.

By not truncating files mmap'ed by other processes.

> By the way -- write() would also fail in case of the disk runs out of
> memory -- thus this is not a solution.

Disks don't run 'out of memory' but if you want to write more data to
a disk that it is capable of accepting, you won't get a buffer
overrun but an 'out of disk space' error. The computer won't just go
to the next retailer and by a larger one for you.

Back to comp.os.linux.development.apps | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

mmap unuseable for interactive application? Peter <excessphase@gmail.com> - 2011-07-16 16:23 -0700
  Re: mmap unuseable for interactive application? Richard Kettlewell <rjk@greenend.org.uk> - 2011-07-17 10:52 +0100
    Re: mmap unuseable for interactive application? pacman@kosh.dhis.org (Alan Curry) - 2011-07-17 20:59 +0000
      Re: mmap unuseable for interactive application? Peter <excessphase@gmail.com> - 2011-07-17 14:05 -0700
        Re: mmap unuseable for interactive application? Rainer Weikusat <rweikusat@mssgmbh.com> - 2011-07-18 12:45 +0100
          Re: mmap unuseable for interactive application? Peter <excessphase@gmail.com> - 2011-07-18 07:30 -0700
            Re: mmap unuseable for interactive application? Rainer Weikusat <rweikusat@mssgmbh.com> - 2011-07-18 15:42 +0100
              Re: mmap unuseable for interactive application? Peter <excessphase@gmail.com> - 2011-07-18 07:46 -0700
                Re: mmap unuseable for interactive application? Rainer Weikusat <rweikusat@mssgmbh.com> - 2011-07-18 15:50 +0100
                Re: mmap unuseable for interactive application? Rainer Weikusat <rweikusat@mssgmbh.com> - 2011-07-18 19:17 +0100
                Re: mmap unuseable for interactive application? Peter <excessphase@gmail.com> - 2011-07-18 12:49 -0700
                Re: mmap unuseable for interactive application? Peter <excessphase@gmail.com> - 2011-07-18 12:51 -0700
                Re: mmap unuseable for interactive application? Peter <excessphase@gmail.com> - 2011-07-18 13:08 -0700
                Re: mmap unuseable for interactive application? Rainer Weikusat <rweikusat@mssgmbh.com> - 2011-07-18 22:24 +0100
                Re: mmap unuseable for interactive application? Peter <excessphase@gmail.com> - 2011-07-18 15:04 -0700
                Re: mmap unuseable for interactive application? Peter <excessphase@gmail.com> - 2011-07-18 15:21 -0700
                Re: mmap unuseable for interactive application? Rainer Weikusat <rweikusat@mssgmbh.com> - 2011-07-19 13:59 +0100
              Re: mmap unuseable for interactive application? Peter <excessphase@gmail.com> - 2011-07-18 07:50 -0700
      Re: mmap unuseable for interactive application? Richard Kettlewell <rjk@greenend.org.uk> - 2011-07-18 10:59 +0100
        Re: mmap unuseable for interactive application? pacman@kosh.dhis.org (Alan Curry) - 2011-07-18 20:14 +0000
  Re: mmap unuseable for interactive application? Rainer Weikusat <rweikusat@mssgmbh.com> - 2011-07-17 19:40 +0100
    Re: mmap unuseable for interactive application? Peter <excessphase@gmail.com> - 2011-07-17 14:11 -0700
      Re: mmap unuseable for interactive application? Rainer Weikusat <rweikusat@mssgmbh.com> - 2011-07-18 12:46 +0100
    Re: mmap unuseable for interactive application? Peter <excessphase@gmail.com> - 2011-07-17 14:13 -0700
      Re: mmap unuseable for interactive application? Rainer Weikusat <rweikusat@mssgmbh.com> - 2011-07-18 13:49 +0100
        Re: mmap unuseable for interactive application? Peter <excessphase@gmail.com> - 2011-07-18 07:37 -0700

csiph-web