mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
Linux: Remove remnants of the getcpu cache
The getcpu cache was removed from the kernel in Linux 2.6.24. glibc
support from the sched_getcpu implementation was removed in commit
dd26c44403
("Consolidate sched_getcpu").
This commit is contained in:
@ -32,11 +32,6 @@ __sched_setaffinity_new (pid_t pid, size_t cpusetsize, const cpu_set_t *cpuset)
|
||||
{
|
||||
int result = INLINE_SYSCALL (sched_setaffinity, 3, pid, cpusetsize, cpuset);
|
||||
|
||||
#ifdef RESET_VGETCPU_CACHE
|
||||
if (result != -1)
|
||||
RESET_VGETCPU_CACHE ();
|
||||
#endif
|
||||
|
||||
return result;
|
||||
}
|
||||
libc_hidden_def (__sched_setaffinity_new)
|
||||
|
Reference in New Issue
Block a user