Re:Why is there a “V” in SIGSEGV Segmentation Fault?
by necovek on Friday June 19, 2020 @01:27AM
(#23571275)
When I played with IA32 in assembly, I think it was possible to swap segments in and out as well (you could order actual printed IA32 books from Intel for free, which was great for a high-school student in Serbia in late 1990s ;)). It was a long time ago, so maybe I am misremembering things.
Thus, I always considered "paging" a shorthand for "swapping of memory pages".
Re:Why is there a “V” in SIGSEGV Segmentation Fault?
by kazinator on Friday June 19, 2020 @11:57AM
(#23575720)
The term "swapping" originally comes from the multiprogramming technique of exchanging an entire program in memory, and its data, for another program and its data (without any virtual memory support).
can confirm SEGV is in v7 signal.h from 1979:
https://www.tuhs.org/cgi-bin/utree.pl?file=V7/usr/include/si...
where it is happily #defined as 11, and continues as such to this day:
https://github.com/freebsd/freebsd/blob/master/sys/sys/signa...
(etc, in the other BSD-derived systems)
if anyone wants to dig further.