1
0
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:
Florian Weimer
2020-05-15 11:32:30 +02:00
parent 61d64408a1
commit 501bdb5dd6
6 changed files with 1 additions and 40 deletions

View File

@ -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)