On Fri, Oct 12, 2018 at 06:31:58PM -0700, Joel Fernandes (Google) wrote:
> Android needs to mremap large regions of memory during memory management
> related operations.

Just curious: why?

> +     if ((old_addr & ~PMD_MASK) || (new_addr & ~PMD_MASK)
> +         || old_end - old_addr < PMD_SIZE)

The || goes on the first line.

> +             } else if (extent == PMD_SIZE && 
> IS_ENABLED(CONFIG_HAVE_MOVE_PMD)) {

Overly long line.

Reply via email to