All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ PATCH] Replacing alloc_pages(gfp,0) with alloc_page(gfp) in net/core/sock.c
  2007-05-09 11:57 ` [KJ PATCH] Replacing alloc_pages(gfp,0) with alloc_page(gfp) in arch/i386/mm/pageattr.c Shani Moideen
@ 2007-06-13  2:58 ` Shani Moideen
  -1 siblings, 0 replies; 24+ messages in thread
From: Shani Moideen @ 2007-06-13  2:46 UTC (permalink / raw)
  To: jgarzik, akpm; +Cc: netdev, kernel-janitors


Replacing alloc_pages(gfp,0) with alloc_page(gfp) 
in net/core/sock.c

Signed-off-by: Shani Moideen <shani.moideen@wipro.com>
----

diff --git a/net/core/sock.c b/net/core/sock.c
index 22183c2..25bb52b 100644
--- a/net/core/sock.c
+++ b/net/core/sock.c
@@ -1193,7 +1193,7 @@ static struct sk_buff *sock_alloc_send_pskb(struct sock *sk,
 					struct page *page;
 					skb_frag_t *frag;
 
-					page = alloc_pages(sk->sk_allocation, 0);
+					page = alloc_page(sk->sk_allocation);
 					if (!page) {
 						err = -ENOBUFS;
 						skb_shinfo(skb)->nr_frags = i;

-- 
Shani 

^ permalink raw reply related	[flat|nested] 24+ messages in thread
* [KJ PATCH] Replacing alloc_pages(gfp,0) with alloc_page(gfp) in net/core/pktgen.c
  2007-05-09 11:57 ` [KJ PATCH] Replacing alloc_pages(gfp,0) with alloc_page(gfp) in arch/i386/mm/pageattr.c Shani Moideen
@ 2007-06-13  2:54 ` Shani Moideen
  -1 siblings, 0 replies; 24+ messages in thread
From: Shani Moideen @ 2007-06-13  2:42 UTC (permalink / raw)
  To: jgarzik, akpm; +Cc: netdev, kernel-janitors


Replacing alloc_pages(gfp,0) with alloc_page(gfp) 
in net/core/pktgen.c

Signed-off-by: Shani Moideen <shani.moideen@wipro.com>
----

diff --git a/net/core/pktgen.c b/net/core/pktgen.c
index b92a322..2600c7f 100644
--- a/net/core/pktgen.c
+++ b/net/core/pktgen.c
@@ -2414,7 +2414,7 @@ static struct sk_buff *fill_packet_ipv4(struct net_device *odev,
 
 		i = 0;
 		while (datalen > 0) {
-			struct page *page = alloc_pages(GFP_KERNEL, 0);
+			struct page *page = alloc_page(GFP_KERNEL);
 			skb_shinfo(skb)->frags[i].page = page;
 			skb_shinfo(skb)->frags[i].page_offset = 0;
 			skb_shinfo(skb)->frags[i].size =
@@ -2762,7 +2762,7 @@ static struct sk_buff *fill_packet_ipv6(struct net_device *odev,
 
 		i = 0;
 		while (datalen > 0) {
-			struct page *page = alloc_pages(GFP_KERNEL, 0);
+			struct page *page = alloc_page(GFP_KERNEL);
 			skb_shinfo(skb)->frags[i].page = page;
 			skb_shinfo(skb)->frags[i].page_offset = 0;
 			skb_shinfo(skb)->frags[i].size =

-- 
Shani 

^ permalink raw reply related	[flat|nested] 24+ messages in thread
* [KJ PATCH] Replacing alloc_pages(gfp,0) with alloc_page(gfp) in net/core/skbuff.c
  2007-05-09 11:57 ` [KJ PATCH] Replacing alloc_pages(gfp,0) with alloc_page(gfp) in arch/i386/mm/pageattr.c Shani Moideen
@ 2007-06-13  2:49 ` Shani Moideen
  -1 siblings, 0 replies; 24+ messages in thread
From: Shani Moideen @ 2007-06-13  2:37 UTC (permalink / raw)
  To: jgarzik, akpm; +Cc: netdev, kernel-janitors


Replacing alloc_pages(gfp,0) with alloc_page(gfp) 
in net/core/skbuff.c

Signed-off-by: Shani Moideen <shani.moideen@wipro.com>
----

diff --git a/net/core/skbuff.c b/net/core/skbuff.c
index 1422573..b923181 100644
--- a/net/core/skbuff.c
+++ b/net/core/skbuff.c
@@ -1805,7 +1805,7 @@ int skb_append_datato_frags(struct sock *sk, struct sk_buff *skb,
 			return -EFAULT;
 
 		/* allocate a new page for next frag */
-		page = alloc_pages(sk->sk_allocation, 0);
+		page = alloc_page(sk->sk_allocation);
 
 		/* If alloc_page fails just return failure and caller will
 		 * free previous allocated pages by doing kfree_skb()

-- 
Shani

^ permalink raw reply related	[flat|nested] 24+ messages in thread
* [KJ PATCH] Replacing alloc_pages(gfp,0) with alloc_page(gfp) in net/ipv6/ip6_output.c
  2007-05-09 11:57 ` [KJ PATCH] Replacing alloc_pages(gfp,0) with alloc_page(gfp) in arch/i386/mm/pageattr.c Shani Moideen
@ 2007-06-12  5:10 ` Shani Moideen
  -1 siblings, 0 replies; 24+ messages in thread
From: Shani Moideen @ 2007-06-12  4:58 UTC (permalink / raw)
  To: davem, kuznet, pekkas, jmorris, yoshfuji; +Cc: netdev, kernel-janitors

Hi,
Replacing alloc_pages(gfp,0) with alloc_page(gfp) in net/ipv6/ip6_output.c

Signed-off-by: Shani Moideen <shani.moideen@wipro.com>
----

diff --git a/net/ipv6/ip6_output.c b/net/ipv6/ip6_output.c
index f508171..1d27779 100644
--- a/net/ipv6/ip6_output.c
+++ b/net/ipv6/ip6_output.c
@@ -1291,7 +1291,7 @@ alloc_new_skb:
 			} else if(i < MAX_SKB_FRAGS) {
 				if (copy > PAGE_SIZE)
 					copy = PAGE_SIZE;
-				page = alloc_pages(sk->sk_allocation, 0);
+				page = alloc_page(sk->sk_allocation);
 				if (page == NULL) {
 					err = -ENOMEM;
 					goto error;


Regards,
Shani 

^ permalink raw reply related	[flat|nested] 24+ messages in thread
* [KJ PATCH] Replacing alloc_pages(gfp,0) with alloc_page(gfp) in net/ipv4/ip_output.c.
  2007-05-09 11:57 ` [KJ PATCH] Replacing alloc_pages(gfp,0) with alloc_page(gfp) in arch/i386/mm/pageattr.c Shani Moideen
@ 2007-06-12  4:10 ` Shani Moideen
  -1 siblings, 0 replies; 24+ messages in thread
From: Shani Moideen @ 2007-06-12  3:58 UTC (permalink / raw)
  To: davem, kuznet, pekkas, jmorris, yoshfuji, kaber; +Cc: netdev, kernel-janitors

Hi,
Replacing alloc_pages(gfp,0) with alloc_page(gfp) in
net/ipv4/ip_output.c.

Signed-off-by: Shani Moideen <shani.moideen@wipro.com>
----

diff --git a/net/ipv4/ip_output.c b/net/ipv4/ip_output.c
index d6427d9..f9a87f6 100644
--- a/net/ipv4/ip_output.c
+++ b/net/ipv4/ip_output.c
@@ -1003,7 +1003,7 @@ alloc_new_skb:
 			} else if (i < MAX_SKB_FRAGS) {
 				if (copy > PAGE_SIZE)
 					copy = PAGE_SIZE;
-				page = alloc_pages(sk->sk_allocation, 0);
+				page = alloc_page(sk->sk_allocation);
 				if (page == NULL)  {
 					err = -ENOMEM;
 					goto error;

Regards,
Shani


^ permalink raw reply related	[flat|nested] 24+ messages in thread
* [KJ PATCH] Replacing alloc_pages(gfp,0) with alloc_page(gfp) in arch/i386/mm/pgtable.c.
@ 2007-05-09 12:00 ` Shani Moideen
  0 siblings, 0 replies; 24+ messages in thread
From: Shani Moideen @ 2007-05-09 12:00 UTC (permalink / raw)
  To: linux-mm; +Cc: linux-kernel, kernel-janitors

Hi,
 
Replacing alloc_pages(gfp,0) with alloc_page(gfp) in
arch/i386/mm/pgtable.c.

Signed-off-by: Shani Moideen <shani.moideen@wipro.com>
----

diff --git a/arch/i386/mm/pgtable.c b/arch/i386/mm/pgtable.c
index fa0cfbd..5d2b0fb 100644
--- a/arch/i386/mm/pgtable.c
+++ b/arch/i386/mm/pgtable.c
@@ -191,9 +191,9 @@ struct page *pte_alloc_one(struct mm_struct *mm, unsigned long address)
 	struct page *pte;

 #ifdef CONFIG_HIGHPTE
-	pte = alloc_pages(GFP_KERNEL|__GFP_HIGHMEM|__GFP_REPEAT|__GFP_ZERO, 0);
+	pte = alloc_page(GFP_KERNEL|__GFP_HIGHMEM|__GFP_REPEAT|__GFP_ZERO);
 #else
-	pte = alloc_pages(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO, 0);
+	pte = alloc_page(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO);
 #endif
 	return pte;
 }

-- 
Shani 

^ permalink raw reply related	[flat|nested] 24+ messages in thread
* [KJ PATCH] Replacing alloc_pages(gfp,0) with alloc_page(gfp) in arch/i386/mm/pageattr.c.
@ 2007-05-09 11:57 ` Shani Moideen
  0 siblings, 0 replies; 24+ messages in thread
From: Shani Moideen @ 2007-05-09 11:57 UTC (permalink / raw)
  To: linux-mm; +Cc: linux-kernel, kernel-janitors

Hi,
 
Replacing alloc_pages(gfp,0) with alloc_page(gfp) in
arch/i386/mm/pageattr.c.

Signed-off-by: Shani Moideen <shani.moideen@wipro.com>
----

diff --git a/arch/i386/mm/pageattr.c b/arch/i386/mm/pageattr.c
index 412ebbd..12f7f14 100644
--- a/arch/i386/mm/pageattr.c
+++ b/arch/i386/mm/pageattr.c
@@ -45,7 +45,7 @@ static struct page *split_large_page(unsigned long address, pgprot_t prot,
 	pte_t *pbase;

 	spin_unlock_irq(&cpa_lock);
-	base = alloc_pages(GFP_KERNEL, 0);
+	base = alloc_page(GFP_KERNEL);
 	spin_lock_irq(&cpa_lock);
 	if (!base) 
 		return NULL;


-- 
Shani 

^ permalink raw reply related	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2007-06-13 14:40 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-13  2:46 [KJ PATCH] Replacing alloc_pages(gfp,0) with alloc_page(gfp) in net/core/sock.c Shani Moideen
2007-06-13  2:58 ` [KJ] [KJ PATCH] Replacing alloc_pages(gfp, Shani Moideen
  -- strict thread matches above, loose matches on Subject: below --
2007-06-13  2:42 [KJ PATCH] Replacing alloc_pages(gfp,0) with alloc_page(gfp) in net/core/pktgen.c Shani Moideen
2007-06-13  2:54 ` [KJ] [KJ PATCH] Replacing alloc_pages(gfp, Shani Moideen
2007-06-13 10:12 ` [KJ] [KJ PATCH] Replacing alloc_pages(gfp, 0) with alloc_page(gfp) in net/core/pktgen.c psr
2007-06-13 10:24   ` [KJ] [KJ PATCH] Replacing alloc_pages(gfp, psr
2007-06-13 13:14   ` [KJ] [KJ PATCH] Replacing alloc_pages(gfp, 0) with alloc_page(gfp) Robert P. J. Day
2007-06-13 13:14     ` [KJ] [KJ PATCH] Replacing alloc_pages(gfp, 0) with alloc_page(gfp) in net/core/pktgen.c Robert P. J. Day
2007-06-13 14:28     ` psr
2007-06-13 14:40       ` [KJ] [KJ PATCH] Replacing alloc_pages(gfp, psr
2007-06-13  2:37 [KJ PATCH] Replacing alloc_pages(gfp,0) with alloc_page(gfp) in net/core/skbuff.c Shani Moideen
2007-06-13  2:49 ` [KJ] [KJ PATCH] Replacing alloc_pages(gfp, Shani Moideen
2007-06-12  4:58 [KJ PATCH] Replacing alloc_pages(gfp,0) with alloc_page(gfp) in net/ipv6/ip6_output.c Shani Moideen
2007-06-12  5:10 ` [KJ] [KJ PATCH] Replacing alloc_pages(gfp, Shani Moideen
2007-06-12  3:58 [KJ PATCH] Replacing alloc_pages(gfp,0) with alloc_page(gfp) in net/ipv4/ip_output.c Shani Moideen
2007-06-12  4:10 ` [KJ] [KJ PATCH] Replacing alloc_pages(gfp, Shani Moideen
2007-05-09 12:00 [KJ PATCH] Replacing alloc_pages(gfp,0) with alloc_page(gfp) in arch/i386/mm/pgtable.c Shani Moideen
2007-05-09 12:12 ` [KJ] [KJ PATCH] Replacing alloc_pages(gfp, Shani Moideen
2007-05-09 12:00 ` [KJ PATCH] Replacing alloc_pages(gfp,0) with alloc_page(gfp) in arch/i386/mm/pgtable.c Shani Moideen
2007-05-09 11:57 [KJ PATCH] Replacing alloc_pages(gfp,0) with alloc_page(gfp) in arch/i386/mm/pageattr.c Shani Moideen
2007-05-09 12:09 ` [KJ] [KJ PATCH] Replacing alloc_pages(gfp, Shani Moideen
2007-05-09 11:57 ` [KJ PATCH] Replacing alloc_pages(gfp,0) with alloc_page(gfp) in arch/i386/mm/pageattr.c Shani Moideen
2007-05-10 14:02 ` [KJ] [KJ PATCH] Replacing alloc_pages(gfp, 0) with alloc_page(gfp) walter harms
2007-05-10 16:40 ` Robert P. J. Day

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.