|
From: | Richard Henderson |
Subject: | Re: [PATCH 14/14] bsd-user/signal: Create a dummy signal queueing function |
Date: | Fri, 24 Sep 2021 19:51:17 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 |
On 9/24/21 4:11 PM, Warner Losh wrote:
It brings to mind something else... There's times it might be easier to refactor between bsd-user and linux-user rather than upstream something that's largely copied from linux-user. Is there a good way to do that and talk about the design before I sink a ton of time into something that's the wrong direction?
I certainly wouldn't mind a top-level user-only/ or posix-only/ in which we could share code between {linux,bsd}-user/, but I don't have a good idea of what that would look like.
Already you have code for MAP_EXCL that doesn't exist for linux (though there is a new, related, MAP_FIXED_NOREPLACE, which linux-user/ does not yet support). So even with "obvious" routines I'm not sure how much real sharing we can get away with.
All I can say is: patches welcome, and we'll bike-shed them as they come. r~
[Prev in Thread] | Current Thread | [Next in Thread] |