Skip to contentSkip to conversation

linux tsbogend

parisc-linux Matthew Wilcox 2 participants 2 messages Sep 30, 2001 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 5 lines · Thomas Bogendoerfer

Log message:
we need to flush pages used inside the kernel and passed to user processes otherwise because of the virtual alias we get mixed writebacks.
FIMXE: flush_data_cache() isn't a very well optimized function for this purpose

flush_dcache_page() is perhaps the function you are looking for? I'm not sure I understand what the problem is since you didn't post a diff. I'll investigate more when I get back tomrrow.

Signature · 1 line
Revolutions do not require corporate support.
#2 lore raw
Quoted 9 lines · Matthew Wilcox
Quoted 5 lines · Thomas Bogendoerfer

Log message:
we need to flush pages used inside the kernel and passed to user processes otherwise because of the virtual alias we get mixed writebacks.
FIMXE: flush_data_cache() isn't a very well optimized function for this purpose

flush_dcache_page() is perhaps the function you are looking for? I'm not sure I understand what the problem is since you didn't post a diff.

flush_kernel_dcache_page() works and it should even be the right fix.

Thomas.

Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessary a
good idea.                                 [ Alexander Viro on linux-kernel ]