Skip to content

Commit 3c2c648

Browse files
shiloongtorvalds
authored andcommitted
mm/page_alloc.c: fix typos in comments
Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Shile Zhang <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent c054a78 commit 3c2c648

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mm/page_alloc.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ int page_group_by_mobility_disabled __read_mostly;
293293
#ifdef CONFIG_DEFERRED_STRUCT_PAGE_INIT
294294

295295
/*
296-
* Determine how many pages need to be initialized durig early boot
296+
* Determine how many pages need to be initialized during early boot
297297
* (non-deferred initialization).
298298
* The value of first_deferred_pfn will be set later, once non-deferred pages
299299
* are initialized, but for now set it ULONG_MAX.
@@ -344,7 +344,7 @@ static inline bool update_defer_init(pg_data_t *pgdat,
344344
unsigned long pfn, unsigned long zone_end,
345345
unsigned long *nr_initialised)
346346
{
347-
/* Always populate low zones for address-contrained allocations */
347+
/* Always populate low zones for address-constrained allocations */
348348
if (zone_end < pgdat_end_pfn(pgdat))
349349
return true;
350350
(*nr_initialised)++;
@@ -3397,7 +3397,7 @@ __alloc_pages_may_oom(gfp_t gfp_mask, unsigned int order,
33973397
if (gfp_mask & __GFP_THISNODE)
33983398
goto out;
33993399

3400-
/* Exhausted what can be done so it's blamo time */
3400+
/* Exhausted what can be done so it's blame time */
34013401
if (out_of_memory(&oc) || WARN_ON_ONCE(gfp_mask & __GFP_NOFAIL)) {
34023402
*did_some_progress = 1;
34033403

0 commit comments

Comments
 (0)