shmget: make small free numbers reusable.

Change-Id: Ic6670214fa31a309e96794361e3ec2dcc6375f4a
Refs: #1531
This commit is contained in:
Tomoki Shirasawa
2020-09-01 07:26:02 +09:00
committed by Masamichi Takagi
parent b3ddd60277
commit e6e66e0392
3 changed files with 42 additions and 26 deletions

View File

@@ -679,4 +679,5 @@ extern int (*linux_clock_gettime)(clockid_t clk_id, struct timespec *tp);
extern void terminate_host(int pid, struct thread *thread);
struct sig_pending *getsigpending(struct thread *thread, int delflag);
int interrupt_from_user(void *regs0);
extern unsigned long shmid_index[];
#endif