Hacker Newsnew | past | comments | ask | show | jobs | submit | mistralol's commentslogin

Yes it is. You basically being a fascist by turning up using physical force to block free speech

You invoke violence by disrupting somebody elses rights. You force people to use violence/force to remove you in order to maintain the right to free speech.


SIGSERV is basically a page fault in userspace. Its just named differently. The user mode linux kernel port makes use of it in exactly this way.

Another use case would be a massive one to one hash table. You allocate the address space and when you fault on it you load data from a database on demand and continue execution.


Linux also has userfaultfd for this, which I think is easier to program against:

https://www.kernel.org/doc/Documentation/vm/userfaultfd.txt

There's also something in Mach for this on OS X, but I forget the details. And a handful of non-UNIX OSes have had support for an outside program being able to get notified efficiently on segfaults and map pages in.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: