linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: akpm@osdl.org
To: akpm@osdl.org, linux-mm@kvack.org, rohit.seth@intel.com,
	mm-commits@vger.kernel.org
Subject: mm-try-to-allocate-higher-order-pages-in-rmqueue_bulk-fix.patch added to -mm tree
Date: Sat, 10 Sep 2005 01:48:31 -0700	[thread overview]
Message-ID: <200509100848.j8A8mtwf007883@shell0.pdx.osdl.net> (raw)

The patch titled

     mm-try-to-allocate-higher-order-pages-in-rmqueue_bulk fix

has been added to the -mm tree.  Its filename is

     mm-try-to-allocate-higher-order-pages-in-rmqueue_bulk-fix.patch

ntfs-build-fix.patch
timeh-remove-ifdefs.patch
seclvl-use-securityfs-tidy.patch
git-ia64-fixup.patch
git-input-fixup.patch
git-jfs-fixup.patch
git-ocfs2-prep.patch
pci-block-config-access-during-bist-fix-42.patch
x86_64-msr-merge-fix.patch
mm-try-to-allocate-higher-order-pages-in-rmqueue_bulk-fix.patch
memory-hotplug-i386-addition-functions-warning-fix.patch
pcnet32-set_ringparam-implementation-tidy.patch
s2io-warning-fixes.patch
acx1xx-wireless-driver-usb-is-bust.patch
acx1xx-allow-modular-build.patch
acx1xx-wireless-driver-spy_offset-went-away.patch
x86-cache-pollution-aware-__copy_from_user_ll-tidy.patch
x86-cache-pollution-aware-__copy_from_user_ll-build-fix.patch
x86-cache-pollution-aware-__copy_from_user_ll-build-fix-2.patch
x86_64-div-by-zero-fix.patch
serial-console-touch-nmi-watchdog.patch
ide-scsi-highmem-cleanup.patch
free-initrd-mem-adjustment-fix.patch
parport-constification-fix.patch
dlm-use-configfs-fix.patch
pcmcia-new-suspend-core-dev_to_instance-fix.patch
ingo-nfs-stuff-fix.patch
nr_blockdev_pages-in_interrupt-warning.patch
sysfs-crash-debugging.patch
device-suspend-debug.patch
add-stack-field-to-task_struct-ia64-fix.patch
reiser4-swsusp-build-fix.patch
reiser4-printk-warning-fix.patch
reiser4-mm-remove-pg_highmem-fix.patch



From: Andrew Morton <akpm@osdl.org>

It was wrong for (order > 0).

Signed-off-by: Rohit Seth <rohit.seth@intel.com>
Cc: <linux-mm@kvack.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 mm/page_alloc.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN mm/page_alloc.c~mm-try-to-allocate-higher-order-pages-in-rmqueue_bulk-fix mm/page_alloc.c
--- devel/mm/page_alloc.c~mm-try-to-allocate-higher-order-pages-in-rmqueue_bulk-fix	2005-09-10 01:47:24.000000000 -0700
+++ devel-akpm/mm/page_alloc.c	2005-09-10 01:47:24.000000000 -0700
@@ -520,7 +520,7 @@ static int rmqueue_bulk(struct zone *zon
 		page = __rmqueue(zone, norder);
 		if (page != NULL) {
 			allocated += (1 << norder);
-			for (i = 0; i < (1 << norder); i++)
+			for (i = 0; i < (1 << norder); i += (1 << order))
 				list_add_tail(&page[i].lru, list);
 			norder++;
 		}
_

Patches currently in -mm which might be from akpm@osdl.org are

--
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:"dont@kvack.org"> email@kvack.org </a>

                 reply	other threads:[~2005-09-10  8:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=200509100848.j8A8mtwf007883@shell0.pdx.osdl.net \
    --to=akpm@osdl.org \
    --cc=linux-mm@kvack.org \
    --cc=mm-commits@vger.kernel.org \
    --cc=rohit.seth@intel.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