Page MenuHomeFreeBSD

LinuxKPI: Add linux/nodemask.h
ClosedPublic

Authored by wulf on Jun 16 2024, 8:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 26, 5:38 PM
Unknown Object (File)
Tue, Dec 17, 5:05 PM
Unknown Object (File)
Nov 19 2024, 10:35 AM
Unknown Object (File)
Nov 5 2024, 4:10 AM
Unknown Object (File)
Oct 30 2024, 6:39 PM
Unknown Object (File)
Oct 29 2024, 8:18 PM
Unknown Object (File)
Oct 12 2024, 3:53 AM
Unknown Object (File)
Oct 4 2024, 7:39 AM
Subscribers

Details

Summary

and dummy num_possible_nodes() implementation. We do not support NUMA
in LinuxKPI yet.

Sponsored by: Serenity Cyber Security, LLC
MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 58305
Build 55193: arc lint + arc unit

Event Timeline

wulf requested review of this revision.Jun 16 2024, 8:28 PM
This revision is now accepted and ready to land.Jun 17 2024, 5:33 AM
bz requested changes to this revision.Jun 17 2024, 9:34 AM
bz added inline comments.
sys/compat/linuxkpi/common/include/linux/nodemask.h
36

Can you leave a pr_debug() call here (instead of the comment); that way it can become visible.

This revision now requires changes to proceed.Jun 17 2024, 9:34 AM
sys/compat/linuxkpi/common/include/linux/nodemask.h
32

Also not entirely true; see compat/common/src/linux_domain.c There is one instance where we do seem to return the domain.

sys/compat/linuxkpi/common/include/linux/nodemask.h
36

Depending on when this function is used in DRM this could be annoying as hell.

sys/compat/linuxkpi/common/include/linux/nodemask.h
36

Depending on when this function is used in DRM this could be annoying as hell.

pr_debug is behind a sysctl and off by default and off unless we have a kernel compiled with options DEBUG (to my memory).

sys/compat/linuxkpi/common/include/linux/nodemask.h
36

Indeed, I've missed the sysctl, I'm good for using it then.

sys/compat/linuxkpi/common/include/linux/nodemask.h
36

I left a comment on the GitHub that we should have a consistent way to tag TODO items in the Linuxulator; I was thinking of something like a LKPITODO comment but it seems that pr_debug("%s: TODO\n", __func__); is indeed the typical incantation.

Add pr_debug warning. Requires D45692 to be buildable.

This revision is now accepted and ready to land.Jun 22 2024, 5:37 PM
This revision was automatically updated to reflect the committed changes.