Whamcloud - gitweb
LU-9859 libcfs: migrate libcfs_mem.c to lnet/lib-mem.c 01/52701/5
authorJames Simmons <jsimmons@infradead.org>
Sun, 15 Oct 2023 00:25:55 +0000 (20:25 -0400)
committerOleg Drokin <green@whamcloud.com>
Wed, 8 Nov 2023 22:01:58 +0000 (22:01 +0000)
commit24d515367f44de6b92b453cc9a1c8384e52b5e3f
treec3336d97a8d8e021bf36013b7ca332608ce4b8bd
parentb0cc96a1ff516f79f26be32945a237ef8373e408
LU-9859 libcfs: migrate libcfs_mem.c to lnet/lib-mem.c

Move the libcfs_mem.c code to the LNet core. The prototypes are declared in libcfs_cpu.h
but we don't move them yet since the CPT code depends on the libcfs_mem.c work. This can
end up in a modular cyclic dependency if we move the CPT work right away so limit what is
changed at this point.

Test-Parameters: trivial
Change-Id: I6bf5cd9f20033f988dde1989f0fc5f89ea74b5a2
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/52701
Reviewed-by: Timothy Day <timday@amazon.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
libcfs/libcfs/Makefile.in
libcfs/libcfs/autoMakefile.am
lnet/lnet/Makefile.in
lnet/lnet/lib-mem.c [moved from libcfs/libcfs/libcfs_mem.c with 73% similarity]