From: drivers@0xabadba.be
To: 9fans@9fans.net
Subject: Re: [9fans] git on plan9
Date: Fri, 17 Jul 2009 13:02:40 -0400 [thread overview]
Message-ID: <2d80144226218622277de482e0018b6f@yourdomain.dom> (raw)
In-Reply-To: <dd6fe68a0907170958k391fa802tfed2cb750b10ea14@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 144 bytes --]
Cinap recommended this and I am working on it right now :) -- any other suggestions are very welcome. Thanks Russ.
respectfully
++james
[-- Attachment #2: Type: message/rfc822, Size: 2976 bytes --]
From: Russ Cox <rsc@swtch.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] git on plan9
Date: Fri, 17 Jul 2009 09:58:38 -0700
Message-ID: <dd6fe68a0907170958k391fa802tfed2cb750b10ea14@mail.gmail.com>
You don't need mmap to implement this mmap.
If it's just trying to map files into memory read-only,
you could implement it by open, stat to find length,
malloc, readn, and return the pointer. This is
what the original linuxemu did (and still does?).
Russ
next prev parent reply other threads:[~2009-07-17 17:02 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-15 22:38 drivers
2009-07-15 23:01 ` Russ Cox
2009-07-15 23:44 ` John Floren
2009-07-15 23:56 ` Russ Cox
2009-07-16 0:08 ` Federico G. Benavento
2009-07-16 20:51 ` drivers
2009-07-16 21:17 ` ron minnich
2009-07-16 21:21 ` Felipe Bichued
2009-07-16 21:28 ` drivers
2009-07-16 23:08 ` Federico G. Benavento
2009-07-16 23:16 ` Federico G. Benavento
2009-07-16 23:25 ` Federico G. Benavento
2009-07-17 0:35 ` drivers
2009-07-17 1:02 ` John Floren
2009-07-17 2:08 ` drivers
2009-07-17 16:45 ` drivers
2009-07-17 16:58 ` Russ Cox
2009-07-17 17:02 ` drivers [this message]
2009-07-16 21:18 ` Felipe Bichued
2009-07-16 21:20 ` erik quanstrom
2009-07-16 21:31 ` Felipe Bichued
2009-07-16 21:38 ` erik quanstrom
2009-07-16 2:36 ` drivers
2009-07-18 22:46 drivers
2009-07-20 21:39 ` John Floren
2009-07-20 21:40 ` John Floren
2009-07-20 21:43 ` Roman V Shaposhnik
2009-07-20 21:47 ` John Floren
2009-07-21 14:50 ` james toy
2009-07-21 14:56 ` james toy
2009-07-21 15:22 ` Federico G. Benavento
2009-07-21 15:55 ` james toy
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=2d80144226218622277de482e0018b6f@yourdomain.dom \
--to=drivers@0xabadba.be \
--cc=9fans@9fans.net \
/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;
as well as URLs for NNTP newsgroup(s).