public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
310581f
)
swap.c: Fix off by one
author
Alan Cox
<alan@linux.intel.com>
Sat, 3 Jan 2015 15:49:23 +0000
(15:49 +0000)
committer
Alan Cox
<alan@linux.intel.com>
Sat, 3 Jan 2015 15:49:23 +0000
(15:49 +0000)
Kernel/swap.c
patch
|
blob
|
history
diff --git
a/Kernel/swap.c
b/Kernel/swap.c
index
f9b9476
..
8f206f0
100644
(file)
--- a/
Kernel/swap.c
+++ b/
Kernel/swap.c
@@
-172,7
+172,7
@@
static ptptr swapvictim(ptptr p, int notself)
}
}
c++;
- if (c
>
ptab_end)
+ if (c
==
ptab_end)
c = ptab;
}
while (c != getproc_nextp);