incubator-nuttx/fs/shm
chenrun1 4cec713dbf fs_inode:Change the type of i_crefs to atomic_int
Summary:
  1.Modified the i_crefs from int16_t to atomic_int
  2.Modified the i_crefs add, delete, read, and initialize interfaces to atomic operations
The purpose of this change is to avoid deadlock in cross-core scenarios, where A Core blocks B Core’s request for a write operation to A Core when A Core requests a read operation to B Core.

Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
2024-09-23 14:07:03 +08:00
..
CMakeLists.txt fs/shmfs: Fix CONFIG_FS_SHM -> CONFIG_FS_SHMFS 2024-01-31 08:51:52 -08:00
Kconfig fs/shmfs: Fix CONFIG_FS_SHM -> CONFIG_FS_SHMFS 2024-01-31 08:51:52 -08:00
Make.defs
shm_open.c fs_inode:Change the type of i_crefs to atomic_int 2024-09-23 14:07:03 +08:00
shm_unlink.c fs/inode: using inode reference to indicate unlink and simply code 2024-09-09 08:42:34 +08:00
shmfs.c fs_inode:Change the type of i_crefs to atomic_int 2024-09-23 14:07:03 +08:00
shmfs.h
shmfs_alloc.c fs: add fs_heap, support shm/tmpfs/pseudofile with indepent heap 2024-08-25 22:12:37 +08:00