Re: streams and file locks, ancient OS history, ARM is sort of channeling

Liste des GroupesRevenir à c arch 
Sujet : Re: streams and file locks, ancient OS history, ARM is sort of channeling
De : already5chosen (at) *nospam* yahoo.com (Michael S)
Groupes : comp.arch
Date : 01. Jul 2024, 09:23:03
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <20240701112303.0000285a@yahoo.com>
References : 1 2 3 4 5
User-Agent : Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-w64-mingw32)
On Mon, 1 Jul 2024 02:10:43 -0000 (UTC)
John Levine <johnl@taugh.com> wrote:

According to MitchAlsup1 <mitchalsup@aol.com>:
In fact, you can ftruncate arbitrarily large at the start -
backing sectors for the mapped pages will only be allocated when
a page is referenced for the first time. 
>
Can you ftruncate( 0x7FFFFFFFFFFFFFFFF ); ?? ½ of the address
space 
>
Every filesystem has a maximum file size. Exceed that and you'll
get an EFBIG error. 
>
Then it is not capable of ftruncate arbitrarily large in a hardware's
view of arbitrarily large which tends to be 1-bit smaller than the
largest container. 
 
The goal here is to map a file into the address space. What's your use
case for mapping a file-like thing that is bigger than any real file
and can't be written out to the disk?
 

Consider that configurations in which maximal file size is bigger than
half of address space are quite common. And not just on 32-bit HW.

Of course, what is considered "half of address space" is not a very
simple question by itself. Take x86-64. Is its address space 2**64 or
2*48? Take aarch64. Is its address space 2**64 or 2**49? Or, may be,
2**56?


Date Sujet#  Auteur
29 Jun 24 * Re: ancient OS history, ARM is sort of channeling the IBM 36048John Levine
30 Jun 24 +* Re: ancient OS history, ARM is sort of channeling the IBM 36032Lawrence D'Oliveiro
30 Jun 24 i+- Re: ancient OS history, ARM is sort of channeling the IBM 3601MitchAlsup1
30 Jun 24 i`* Re: ancient OS history, ARM is sort of channeling the IBM 36030Stephen Fuld
30 Jun 24 i +- Re: ancient OS history, ARM is sort of channeling the IBM 36024Lawrence D'Oliveiro
1 Jul 24 i `* Re: ancient OS history, ARM is sort of channeling the IBM 3605Lawrence D'Oliveiro
2 Jul 24 i  `* Re: ancient OS history, ARM is sort of channeling the IBM 3604John Levine
2 Jul 24 i   `* Re: ancient OS history, ARM is sort of channeling the IBM 3603Lawrence D'Oliveiro
2 Jul 24 i    `* Re: ancient OS history, ARM is sort of channeling the IBM 3602John Levine
2 Jul 24 i     `- Re: ancient OS history, ARM is sort of channeling the IBM 3601Dan Cross
30 Jun 24 `* Re: ancient OS history, ARM is sort of channeling the IBM 36015Anton Ertl
30 Jun 24  `* Re: ancient OS history, ARM is sort of channeling the IBM 36014Anton Ertl
30 Jun 24   `* Re: streams and file locks, ancient OS history, ARM is sort of channeling the IBM 36013John Levine
30 Jun 24    +* Re: streams and file locks, ancient OS history, ARM is sort of channeling the IBM 36010MitchAlsup1
30 Jun 24    i`* Re: streams and file locks, ancient OS history, ARM is sort of channeling9John Levine
1 Jul 24    i `* Re: streams and file locks, ancient OS history, ARM is sort of channeling8MitchAlsup1
1 Jul 24    i  `* Re: streams and file locks, ancient OS history, ARM is sort of channeling7John Levine
1 Jul 24    i   +* Re: streams and file locks, ancient OS history, ARM is sort of channeling2Lawrence D'Oliveiro
1 Jul 24    i   i`- Re: streams and file locks, ancient OS history, ARM is sort of channeling1John Levine
1 Jul 24    i   `* Re: streams and file locks, ancient OS history, ARM is sort of channeling4Michael S
1 Jul 24    i    `* Re: streams and file locks, ancient OS history, ARM is sort of channeling3MitchAlsup1
2 Jul 24    i     +- Re: streams and file locks, ancient OS history, ARM is sort of channeling1Michael S
2 Jul 24    i     `- Re: streams and file locks, ancient OS history, ARM is sort of channeling1Michael S
1 Jul 24    `* Re: streams and file locks, ancient OS history, ARM is sort of channeling the IBM 3602Lawrence D'Oliveiro
1 Jul 24     `- Re: streams and file locks, ancient OS history1John Levine

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal