Beat the implicit illegal virtual alias created by reusing userspace frames.
commit9f63a83a9944f73d20a34872d07428dd2604da42
authorJakub Jermar <jakub@jermar.eu>
Fri, 19 Jan 2007 12:21:27 +0000 (19 12:21 +0000)
committerJakub Jermar <jakub@jermar.eu>
Fri, 19 Jan 2007 12:21:27 +0000 (19 12:21 +0000)
treebe293ab1c01a0754c4d3ddb6de090f5f8f2728e5
parent81cfefaee34c6617759e2519a2dc4612cb7ba842
Beat the implicit illegal virtual alias created by reusing userspace frames.
In the anonymous and ELF backends, if the architecture has virtually indexed D-cache,
selectively flush cachelines belonging to the frame being freed.
This fixes Ticket #20.
kernel/arch/sparc64/include/mm/cache.h
kernel/arch/sparc64/src/mm/cache_asm.S
kernel/generic/src/mm/backend_anon.c
kernel/generic/src/mm/backend_elf.c