arc_os: split userspace and Linux kernel code
commit8fc0beb66b7a4284d91ea8672374450ab3007923
authorRob Norris <robn@despairlabs.com>
Wed, 28 Aug 2024 12:22:51 +0000 (28 22:22 +1000)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 19 Sep 2024 22:48:54 +0000 (19 15:48 -0700)
tree7b681fed92ea7367368300930dcea5e44e383015
parentb7e43d6e7f7172c843f3bc76d674823c7f2e19f3
arc_os: split userspace and Linux kernel code

The Linux arc_os.c carries userspace and kernel code, with very little
overlap between the two. This lifts the userspace parts out into a
separate arc_os.c for libzpool and removes it from the Linux side.

Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Rob Norris <robn@despairlabs.com>
Sponsored-by: https://despairlabs.com/sponsor/
Closes #16492
lib/libzpool/Makefile.am
lib/libzpool/arc_os.c [new file with mode: 0644]
module/os/linux/zfs/arc_os.c