[PATCH] Improve LinuxThreads compatibility in rfork()

Kostik Belousov kostikbel at gmail.com
Tue Jul 12 21:57:11 UTC 2011


On Tue, Jul 12, 2011 at 11:53:05PM +0200, Petr Salinger wrote:
> >>I will bump revision for stable/8 when merging, but I do not see much
> >>reason to bump on HEAD right now.
> 
> Many thanks.
> 
> >Uhm I think we can survive without a bump in HEAD.  For now we will
> >need to keep our backward-compatibility patch anyway, and when the
> >bump happens on stable/8 our sysctl comparison will identify 900039 as
> >new ABI.
> 
> We cannot survive without a bump in HEAD before 9.0 release,
> but we do not need bump immediately.
Right, the point is that you can just say 'do not use 9.0-current
earlier then r223966', and check only for >= 8025XX, where XX is the
bump at MFC.

> 
> So far the condition for new API will be
> 
>   if (    (osreldate >= 900040)
>       || ((osreldate >= 803000) && (osreldate < 900000)))
> 
> Of course, when MFC will bump revision, the 803000 constant
> will change (probably to 802509).
> 
> Petr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20110712/fe453c53/attachment.pgp


More information about the freebsd-current mailing list