LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Igor M Podlesny <for.poige+linux@gmail.com>
To: Zachary Amsden <zach@vmware.com>
Cc: Arjan van de Ven <arjan@infradead.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	linux-kernel@vger.kernel.org
Subject: > global_flush_tlb() would be the correct one.
Date: Tue, 05 Feb 2008 13:56:09 +0700	[thread overview]
Message-ID: <47A80889.3030200@gmail.com> (raw)
In-Reply-To: <1202194390.28740.8.camel@bodhitayantram.eng.vmware.com>

On 2008-02-05 13:53, Zachary Amsden wrote:
> On Tue, 2008-02-05 at 13:44 +0700, Igor M Podlesny wrote:
>> On 2008-02-05 13:34, Arjan van de Ven wrote:
>> [...]
>> >> 	1) To have compiled it I had to replace global_flush_tlb()
>> >> call with __flush_tlb_all() and still guessing was it(?) a correct
>> >> replacment at all :-)
>> > 
>> > it is not; 
>> 
>> 	I see, thanks. What would be the correct one? ;-)
> 
> global_flush_tlb() would be the correct one.
> 
	Looking at the kernel's patch I don't think so:

-void global_flush_tlb(void)
-{
-       struct list_head l;
-       struct page *pg, *next;
-
-       BUG_ON(irqs_disabled());
-
-       spin_lock_irq(&cpa_lock);
-       list_replace_init(&df_list, &l);
-       spin_unlock_irq(&cpa_lock);
-       flush_map(&l);
-       list_for_each_entry_safe(pg, next, &l, lru) {
-               list_del(&pg->lru);
-               clear_bit(PG_arch_1, &pg->flags);
-               if (PageReserved(pg) || !cpu_has_pse || page_private(pg) != 0)
-                       continue;
-               ClearPagePrivate(pg);
-               __free_page(pg);
-       }
-}
-
-EXPORT_SYMBOL(global_flush_tlb);

-- 

  reply	other threads:[~2008-02-05  6:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <43d009740802022335y21c3f93ep4e444bef71338045@mail.gmail.com>
     [not found] ` <20080202235103.20dd9768.akpm@linux-foundation.org>
2008-02-04 13:16   ` Both 2.6.24-mm1 and 2.6.24-git11 do NOT "see" any of mine LVM-2 disks Igor M Podlesny
2008-02-04 13:27     ` Andrew Morton
2008-02-05  5:32       ` > You may find that you need to update your lvm userspace tools Igor M Podlesny
2008-02-05  5:53         ` Andrew Morton
2008-02-05 12:11           ` Alasdair G Kergon
2008-02-05  6:28         ` NVIDIA's Linux x86 Display Driver fresh driver isn't compatible anymore Igor M Podlesny
2008-02-05  6:34           ` Arjan van de Ven
2008-02-05  6:44             ` > best asked at one of the nvidia forums, not on lkml Igor M Podlesny
2008-02-05  6:53               ` Zachary Amsden
2008-02-05  6:56                 ` Igor M Podlesny [this message]
2008-02-05  7:22                 ` Arjan van de Ven

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=47A80889.3030200@gmail.com \
    --to=for.poige+linux@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=arjan@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zach@vmware.com \
    --subject='Re: > global_flush_tlb() would be the correct one.' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).