linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
To: sekharan@us.ibm.com
Cc: ckrm-tech@lists.sourceforge.net, linux-mm@kvack.org
Subject: Re: [ckrm-tech] [PATCH 2/6] CKRM: Core framework support
Date: Sat, 25 Jun 2005 16:49:26 +0900	[thread overview]
Message-ID: <1119685766.986231.2373.nullmailer@yamt.dyndns.org> (raw)
In-Reply-To: Your message of "Fri, 24 Jun 2005 15:22:44 -0700" <1119651764.5105.16.camel@linuxchandra>

> +static inline int
> +class_migrate_pgd(struct mm_struct* mm, struct vm_area_struct* vma,
> +		pgd_t* pgdir, unsigned long address, unsigned long end)
> +{
> +	pmd_t* pmd;
> +	pud_t* pud;
> +	unsigned long pgd_end;
> +
> +	if (pgd_none(*pgdir))
> +		return 0;
> +	BUG_ON(pgd_bad(*pgdir));
> +
> +	pud = pud_offset(pgdir, address);
> +	if (pud_none(*pud))
> +		return 0;
> +	BUG_ON(pud_bad(*pud));
> +	pmd = pmd_offset(pud, address);
> +	pgd_end = (address + PGDIR_SIZE) & PGDIR_MASK;

why didn't you introduce class_migrate_pud?

YAMAMOTO Takashi
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>

  reply	other threads:[~2005-06-25  7:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-24 22:22 Chandra Seetharaman
2005-06-25  7:49 ` YAMAMOTO Takashi [this message]
2005-06-27 20:50   ` [ckrm-tech] " Chandra Seetharaman
2005-06-29  1:22     ` YAMAMOTO Takashi
2005-06-30 18:08       ` Chandra Seetharaman
2005-06-30 18:55         ` Dave Hansen
2005-06-30 19:02           ` Chandra Seetharaman
  -- strict thread matches above, loose matches on Subject: below --
2005-05-19  0:32 Chandra Seetharaman
2005-05-20  2:27 ` [ckrm-tech] " KUROSAWA Takahiro
2005-05-20 17:06   ` Chandra Seetharaman
2005-04-02  3:12 Chandra Seetharaman
2005-04-08  0:39 ` [ckrm-tech] " Dave Hansen
2005-04-08  1:34   ` Chandra Seetharaman

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=1119685766.986231.2373.nullmailer@yamt.dyndns.org \
    --to=yamamoto@valinux.co.jp \
    --cc=ckrm-tech@lists.sourceforge.net \
    --cc=linux-mm@kvack.org \
    --cc=sekharan@us.ibm.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