Re: [PATCH 7/7] Compact memory directly by a process when a high-order allocation fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On Mon, 18 Jun 2007 10:30:42 +0100 (IST) Mel Gorman <[email protected]> wrote:
> +
> +			/*
> +			 * It's a race if compaction frees a suitable page but
> +			 * someone else allocates it
> +			 */
> +			count_vm_event(COMPACTRACE);
> +		}

Could perhaps cause arbitrarily long starvation.  A fix would be to free
the synchronously-compacted higher-order page into somewhere which is
private to this task (a new field in task_struct would be one such place).
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux