LWN.net Logo

Removing four bytes from the kernel ABI

Removing four bytes from the kernel ABI

Posted May 29, 2012 19:21 UTC (Tue) by BenHutchings (subscriber, #37955)
In reply to: Removing four bytes from the kernel ABI by nix
Parent article: Removing four bytes from the kernel ABI

So far as I know Windows doesn't patch third-party code in memory, but it does enable compatibility quirks on a per-process basis based on recognition of certain programs. In some cases that approach may be superior to maintaining the old behaviour for all programs - the usual reason for wanting to change the implementation is to improve performance, and Windows can provide that improvement for most programs.

Linux does have per-process compatibility quirks (see setarch(8)) but no provision for enabling them automatically. I'm not sure why, though it may be that such recognition would be better implemented in userland.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds