From: Ralf Baechle <ralf@linux-mips.org>
To: Sergei Shtylyov <sshtylyov@mvista.com>
Cc: Christoph Hellwig <hch@lst.de>,
naveen yadav <yad.naveen@gmail.com>,
linux-mips@linux-mips.org
Subject: Re: flush_kernel_vmap_range() invalidate_kernel_vmap_range() API not exists for MIPS
Date: Mon, 20 Jun 2011 10:56:26 +0100 [thread overview]
Message-ID: <20110620095625.GA3227@linux-mips.org> (raw)
In-Reply-To: <4DFCA2DD.9060707@mvista.com>
On Sat, Jun 18, 2011 at 05:06:37PM +0400, Sergei Shtylyov wrote:
> >+static inline void flush_kernel_vmap_range(void *vaddr, int size)
> >+{
> >+ if (cpu_has_dc_aliases)
> >+ __flush_kernel_vmap_range((unsigned long) vaddr, size);
> >+}
> >+
> >+static inline void invalidate_kernel_vmap_range(void *vaddr, int size)
> >+{
> >+ if (cpu_has_dc_aliases)
> >+ __flush_kernel_vmap_range((unsigned long) vaddr, size);
>
> Not __invalidate_kernel_vmap_range()?
No, for the moment both just do a writeback + invalidate. I may change
that for something more efficient later once I understand the consequences
of this.
Ralf
next prev parent reply other threads:[~2011-06-20 9:56 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-25 9:08 flush_kernel_vmap_range() invalidate_kernel_vmap_range() API not exists for MIPS naveen yadav
2011-03-25 17:27 ` Ralf Baechle
2011-03-29 5:54 ` naveen yadav
2011-05-19 4:35 ` naveen yadav
2011-06-15 6:28 ` naveen yadav
2011-06-16 18:02 ` Christoph Hellwig
2011-06-17 15:20 ` Ralf Baechle
2011-06-18 10:51 ` naveen yadav
2011-06-18 13:06 ` Sergei Shtylyov
2011-06-20 9:56 ` Ralf Baechle [this message]
2011-06-24 5:06 ` naveen yadav
2011-06-24 7:09 ` Ralf Baechle
2011-06-17 0:05 ` Ralf Baechle
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110620095625.GA3227@linux-mips.org \
--to=ralf@linux-mips.org \
--cc=hch@lst.de \
--cc=linux-mips@linux-mips.org \
--cc=sshtylyov@mvista.com \
--cc=yad.naveen@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox