Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys
> On Jan 12, 2020, at 10:20 PM, Kamil Rytarowski <n54%gmx.com@localhost> wrote:
>
> While there, could we garbage collect unused defines from sys/param.h?
>
> I'm thinking in particular about:
As long as we still have tsleep(9) and friends, we can't rid ourselves of these historical defines.
Perhaps we should make a push to rid ourselves of those legacy interfaces?
>
> /*
> * Historic priority levels. These are meaningless and remain only
> * for source compatibility. Do not use in new code.
> */
> #define PSWP 0
> #define PVM 4
> #define PINOD 8
> #define PRIBIO 16
> #define PVFS 20
> #define PZERO 22
> #define PSOCK 24
> #define PWAIT 32
> #define PLOCK 36
> #define PPAUSE 40
> #define PUSER 50
> #define MAXPRI 127
>
> These symbols from time to time conflict with external loadable kernel
> modules. My immediate offender is VirtualBox and PVM symbol name conflict.
>
-- thorpej
Home |
Main Index |
Thread Index |
Old Index