Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1602912

Re: [HMM 07/16] mm/migrate: new memory migration helper for use with device memory v4

From Andrew Morton <akpm@linux-foundation.org>
Newsgroups linux.kernel
Subject Re: [HMM 07/16] mm/migrate: new memory migration helper for use with device memory v4
Date 2017-03-17 00:20 +0100
Message-ID <tlMQx-5vf-5@gated-at.bofh.it> (permalink)
References <tlFm1-cU-3@gated-at.bofh.it> <tlFm1-cU-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, 16 Mar 2017 12:05:26 -0400 Jérôme Glisse <jglisse@redhat.com> wrote:

> +static inline struct page *migrate_pfn_to_page(unsigned long mpfn)
> +{
> +	if (!(mpfn & MIGRATE_PFN_VALID))
> +		return NULL;
> +	return pfn_to_page(mpfn & MIGRATE_PFN_MASK);
> +}

i386 allnoconfig:

In file included from mm/page_alloc.c:61:
./include/linux/migrate.h: In function 'migrate_pfn_to_page':
./include/linux/migrate.h:139: warning: left shift count >= width of type
./include/linux/migrate.h:141: warning: left shift count >= width of type
./include/linux/migrate.h: In function 'migrate_pfn_size':
./include/linux/migrate.h:146: warning: left shift count >= width of type

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[HMM 07/16] mm/migrate: new memory migration helper for use with device memory v4 Jérôme Glisse <jglisse@redhat.com> - 2017-03-16 16:20 +0100
  Re: [HMM 07/16] mm/migrate: new memory migration helper for use with  device memory v4 Reza Arbab <arbab@linux.vnet.ibm.com> - 2017-03-16 17:30 +0100
    Re: [HMM 07/16] mm/migrate: new memory migration helper for use with  device memory v4 Balbir Singh <bsingharora@gmail.com> - 2017-03-16 22:40 +0100
  Re: [HMM 07/16] mm/migrate: new memory migration helper for use  with device memory v4 Andrew Morton <akpm@linux-foundation.org> - 2017-03-17 00:20 +0100
    Re: [HMM 07/16] mm/migrate: new memory migration helper for use with  device memory v4 John Hubbard <jhubbard@nvidia.com> - 2017-03-17 01:30 +0100
      Re: [HMM 07/16] mm/migrate: new memory migration helper for use with  device memory v4 Balbir Singh <bsingharora@gmail.com> - 2017-03-17 02:00 +0100
        Re: [HMM 07/16] mm/migrate: new memory migration helper for use with  device memory v4 John Hubbard <jhubbard@nvidia.com> - 2017-03-17 02:10 +0100
          Re: [HMM 07/16] mm/migrate: new memory migration helper for use  with device memory v4 Jerome Glisse <jglisse@redhat.com> - 2017-03-17 03:10 +0100
            Re: [HMM 07/16] mm/migrate: new memory migration helper for use  with device memory v4 Andrew Morton <akpm@linux-foundation.org> - 2017-03-17 04:40 +0100
          Re: [HMM 07/16] mm/migrate: new memory migration helper for use with  device memory v4 Balbir Singh <bsingharora@gmail.com> - 2017-03-17 04:50 +0100
            Re: [HMM 07/16] mm/migrate: new memory migration helper for use with  device memory v4 Balbir Singh <bsingharora@gmail.com> - 2017-03-17 06:00 +0100
              Re: [HMM 07/16] mm/migrate: new memory migration helper for use with  device memory v4 John Hubbard <jhubbard@nvidia.com> - 2017-03-17 08:30 +0100

csiph-web