On Mon, 28 Feb 2005 10:27:03 +0100
Martin Schwidefsky <[EMAIL PROTECTED]> wrote:

> > In that case, please fix this simply by turning ptep_clear_flush()
> > (and thus ptep_establish) into a macro to fix the build as we have
> > done on the other platforms.
> 
> Please don't. There are too many macros from hell as things are now.
> I prefer to sort out the compile errors with my inline functions than
> to introduce more of that macro crap.
> 
> Simply expand the pte_clear inline into ptep_get_and_clear &
> ptep_clear_flush gets you around the problem with deferencing "vma"
> because on s390 we don't need the mm struct in pte_clear.

I'll do as you wish no problem.

But you will need to address this should you ever want to
experiment with batched TLB flushing.  And I highly encourage
anyone with TLBs lacking true range flushing in hardware to
do so :-)  It is such an incredible improvement.

Reply via email to