All of lore.kernel.org
 help / color / mirror / Atom feed
* need HELP about flush_map() in pageattr.c
@ 2003-01-09 11:32 Thomas Schlichter
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Schlichter @ 2003-01-09 11:32 UTC (permalink / raw)
  To: Linux Kernel Mailing List

Hello,

currently I am writing a patch to be able to make TLBs on any IO-devices
coherent to the CPUs TLBs. So I was looking in the kernel-sources for places
where not only the local but all TLBs are flushed. So I came up with
flush_map() in the arch/i386/mm/ and the arch/x86_64/mm/ directories.

Now my questions:

1. In the x86_64 part of code the flush_kernel_map() does a
local_flush_tlb_one() but in the i386 parts a local_flush_tlb_all(). Is the
mentioned athlon bug the cause or can it be changed to work as in the x86_64
code?

2. Can the flush_map() function be replaced by a flush_tlb_all() respective
flush_tlb_page(). If I can do so, what would be the correct value for the
first argument 'vma'?

If it is not posible could you please tell me why not...?

Thank you very much!

  Thomas Schlichter


^ permalink raw reply	[flat|nested] 2+ messages in thread

* NEED HELP about flush_map() in pageattr.c
@ 2003-01-09 13:50 Thomas Schlichter
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Schlichter @ 2003-01-09 13:50 UTC (permalink / raw)
  To: Linux Kernel Mailing List

Hello,

currently I am writing a patch to be able to make TLBs on any IO-devices
coherent to the CPUs TLBs. So I was looking in the kernel-sources for places
where not only the local but all TLBs are flushed. So I came up with
flush_map() in the arch/i386/mm/ and the arch/x86_64/mm/ directories.

Now my questions:

1. In the x86_64 part of code the flush_kernel_map() does a
local_flush_tlb_one() but in the i386 parts a local_flush_tlb_all(). Is the
mentioned athlon bug the cause or can it be changed to work as in the x86_64
code?

2. Can the flush_map() function be replaced by a flush_tlb_all() respective
flush_tlb_page(). If I can do so, what would be the correct value for the
first argument 'vma'?

If it is not posible could you please tell me why not...?

Thank you very much!

  Thomas Schlichter


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-01-09 13:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-09 11:32 need HELP about flush_map() in pageattr.c Thomas Schlichter
2003-01-09 13:50 NEED " Thomas Schlichter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.