All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mem: fix typo in local function name
@ 2018-05-01 19:38 Thomas Monjalon
  2018-05-02  9:28 ` Burakov, Anatoly
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Monjalon @ 2018-05-01 19:38 UTC (permalink / raw)
  To: dev; +Cc: anatoly.burakov

Fixes: 582bed1e1d1d ("mem: support mapping hugepages at runtime")

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
---
 lib/librte_eal/linuxapp/eal/eal_memalloc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/librte_eal/linuxapp/eal/eal_memalloc.c b/lib/librte_eal/linuxapp/eal/eal_memalloc.c
index 360d8f73c..ace2bcf3e 100644
--- a/lib/librte_eal/linuxapp/eal/eal_memalloc.c
+++ b/lib/librte_eal/linuxapp/eal/eal_memalloc.c
@@ -143,7 +143,7 @@ prepare_numa(int *oldpolicy, struct bitmask *oldmask, int socket_id)
 }
 
 static void
-resotre_numa(int *oldpolicy, struct bitmask *oldmask)
+restore_numa(int *oldpolicy, struct bitmask *oldmask)
 {
 	RTE_LOG(DEBUG, EAL,
 		"Restoring previous memory policy: %d\n", *oldpolicy);
@@ -889,7 +889,7 @@ eal_memalloc_alloc_seg_bulk(struct rte_memseg **ms, int n_segs, size_t page_sz,
 
 #ifdef RTE_EAL_NUMA_AWARE_HUGEPAGES
 	if (have_numa)
-		resotre_numa(&oldpolicy, oldmask);
+		restore_numa(&oldpolicy, oldmask);
 #endif
 	return ret;
 }
-- 
2.16.2

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

* Re: [PATCH] mem: fix typo in local function name
  2018-05-01 19:38 [PATCH] mem: fix typo in local function name Thomas Monjalon
@ 2018-05-02  9:28 ` Burakov, Anatoly
  2018-05-02  9:29   ` Thomas Monjalon
  2018-05-13 23:12   ` Thomas Monjalon
  0 siblings, 2 replies; 4+ messages in thread
From: Burakov, Anatoly @ 2018-05-02  9:28 UTC (permalink / raw)
  To: Thomas Monjalon, dev

On 01-May-18 8:38 PM, Thomas Monjalon wrote:
> Fixes: 582bed1e1d1d ("mem: support mapping hugepages at runtime")
> 
> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
> ---
>   lib/librte_eal/linuxapp/eal/eal_memalloc.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/lib/librte_eal/linuxapp/eal/eal_memalloc.c b/lib/librte_eal/linuxapp/eal/eal_memalloc.c
> index 360d8f73c..ace2bcf3e 100644
> --- a/lib/librte_eal/linuxapp/eal/eal_memalloc.c
> +++ b/lib/librte_eal/linuxapp/eal/eal_memalloc.c
> @@ -143,7 +143,7 @@ prepare_numa(int *oldpolicy, struct bitmask *oldmask, int socket_id)
>   }
>   
>   static void
> -resotre_numa(int *oldpolicy, struct bitmask *oldmask)
> +restore_numa(int *oldpolicy, struct bitmask *oldmask)
>   {
>   	RTE_LOG(DEBUG, EAL,
>   		"Restoring previous memory policy: %d\n", *oldpolicy);
> @@ -889,7 +889,7 @@ eal_memalloc_alloc_seg_bulk(struct rte_memseg **ms, int n_segs, size_t page_sz,
>   
>   #ifdef RTE_EAL_NUMA_AWARE_HUGEPAGES
>   	if (have_numa)
> -		resotre_numa(&oldpolicy, oldmask);
> +		restore_numa(&oldpolicy, oldmask);
>   #endif
>   	return ret;
>   }
> 

Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>

(tempted to say "Akced"...)

-- 
Thanks,
Anatoly

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

* Re: [PATCH] mem: fix typo in local function name
  2018-05-02  9:28 ` Burakov, Anatoly
@ 2018-05-02  9:29   ` Thomas Monjalon
  2018-05-13 23:12   ` Thomas Monjalon
  1 sibling, 0 replies; 4+ messages in thread
From: Thomas Monjalon @ 2018-05-02  9:29 UTC (permalink / raw)
  To: Burakov, Anatoly; +Cc: dev

02/05/2018 11:28, Burakov, Anatoly:
> On 01-May-18 8:38 PM, Thomas Monjalon wrote:
> > --- a/lib/librte_eal/linuxapp/eal/eal_memalloc.c
> > +++ b/lib/librte_eal/linuxapp/eal/eal_memalloc.c
> > @@ -143,7 +143,7 @@ prepare_numa(int *oldpolicy, struct bitmask *oldmask, int socket_id)
> >   }
> >   
> >   static void
> > -resotre_numa(int *oldpolicy, struct bitmask *oldmask)
> > +restore_numa(int *oldpolicy, struct bitmask *oldmask)
> >   {
> >   	RTE_LOG(DEBUG, EAL,
> >   		"Restoring previous memory policy: %d\n", *oldpolicy);
> > @@ -889,7 +889,7 @@ eal_memalloc_alloc_seg_bulk(struct rte_memseg **ms, int n_segs, size_t page_sz,
> >   
> >   #ifdef RTE_EAL_NUMA_AWARE_HUGEPAGES
> >   	if (have_numa)
> > -		resotre_numa(&oldpolicy, oldmask);
> > +		restore_numa(&oldpolicy, oldmask);
> >   #endif
> >   	return ret;
> >   }
> > 
> 
> Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
> 
> (tempted to say "Akced"...)

Thnak you :)

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

* Re: [PATCH] mem: fix typo in local function name
  2018-05-02  9:28 ` Burakov, Anatoly
  2018-05-02  9:29   ` Thomas Monjalon
@ 2018-05-13 23:12   ` Thomas Monjalon
  1 sibling, 0 replies; 4+ messages in thread
From: Thomas Monjalon @ 2018-05-13 23:12 UTC (permalink / raw)
  To: Burakov, Anatoly; +Cc: dev

02/05/2018 11:28, Burakov, Anatoly:
> On 01-May-18 8:38 PM, Thomas Monjalon wrote:
> > Fixes: 582bed1e1d1d ("mem: support mapping hugepages at runtime")
> > 
> > Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
> 
> Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>

Applied

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

end of thread, other threads:[~2018-05-13 23:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-01 19:38 [PATCH] mem: fix typo in local function name Thomas Monjalon
2018-05-02  9:28 ` Burakov, Anatoly
2018-05-02  9:29   ` Thomas Monjalon
2018-05-13 23:12   ` Thomas Monjalon

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.