search for: hugetlb

Displaying 20 results from an estimated 347 matches for "hugetlb".

2018 Mar 19
2
[PATCH v2] virtio_balloon: export hugetlb page allocation counts
Export the number of successful and failed hugetlb page allocations via the virtio balloon driver. These 2 counts come directly from the vm_events HTLB_BUDDY_PGALLOC and HTLB_BUDDY_PGALLOC_FAIL. Signed-off-by: Jonathan Helman <jonathan.helman at oracle.com> --- drivers/virtio/virtio_balloon.c | 6 ++++++ include/uapi/linux/virtio_balloo...
2018 Mar 19
2
[PATCH v2] virtio_balloon: export hugetlb page allocation counts
Export the number of successful and failed hugetlb page allocations via the virtio balloon driver. These 2 counts come directly from the vm_events HTLB_BUDDY_PGALLOC and HTLB_BUDDY_PGALLOC_FAIL. Signed-off-by: Jonathan Helman <jonathan.helman at oracle.com> --- drivers/virtio/virtio_balloon.c | 6 ++++++ include/uapi/linux/virtio_balloo...
2024 Nov 12
0
[RFC PATCH v1 06/10] mm/hugetlb: use separate folio->_hugetlb_list for hugetlb-internals
...;a929244872 at 163.com> > --- >> diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h >> index 80fef38d9d64..365c73be0bb4 100644 >> --- a/include/linux/mm_types.h >> +++ b/include/linux/mm_types.h >> @@ -310,6 +310,7 @@ typedef struct { >> * @_hugetlb_cgroup: Do not use directly, use accessor in hugetlb_cgroup.h. >> * @_hugetlb_cgroup_rsvd: Do not use directly, use accessor in hugetlb_cgroup.h. >> * @_hugetlb_hwpoison: Do not use directly, call raw_hwp_list_head(). >> + * @_hugetlb_list: To be used in hugetlb core code only...
2024 Nov 12
1
[RFC PATCH v1 00/10] mm: Introduce and use folio_owner_ops
...I don't want you to respin. I think this is a bad idea. >> >> I'm hoping you'll find some more time to explain what exactly you don't >> like, because this series only refactors what we already have. >> >> I enjoy seeing the special casing (especially hugetlb) gone from mm/swap.c. >> >> I don't particularly enjoy overlaying folio->lru, primarily because we have >> to temporarily "evacuate" it when someone wants to make use of folio->lru >> (e.g., hugetlb isolation). So it's not completely "sticky&quot...
2018 Apr 13
2
[PATCH] virtio_balloon: add array of stat names
Jason Wang points out that it's vary hard for users to build an array of stat names. The naive thing is to use VIRTIO_BALLOON_S_NR but that breaks if we add more stats. Let's add an array of reasonably readable names. Fixes: 6c64fe7f2 ("virtio_balloon: export hugetlb page allocation counts") Cc: Jason Wang <jasowang at redhat.com> Cc: Jonathan Helman <jonathan.helman at oracle.com>, Signed-off-by: Michael S. Tsirkin <mst at redhat.com> --- include/uapi/linux/virtio_balloon.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --...
2018 Apr 13
2
[PATCH] virtio_balloon: add array of stat names
Jason Wang points out that it's vary hard for users to build an array of stat names. The naive thing is to use VIRTIO_BALLOON_S_NR but that breaks if we add more stats. Let's add an array of reasonably readable names. Fixes: 6c64fe7f2 ("virtio_balloon: export hugetlb page allocation counts") Cc: Jason Wang <jasowang at redhat.com> Cc: Jonathan Helman <jonathan.helman at oracle.com>, Signed-off-by: Michael S. Tsirkin <mst at redhat.com> --- include/uapi/linux/virtio_balloon.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --...
2008 Jul 24
5
[PATCH 0/2] Add hugetlb support for PV
Here is a set of small patches that enables hugetlb on PV machines. They are against xen-unstable and linux-2.6.18-xen. The patches are specifically for x86_64. I originally had these patches working back in May, but recently for some reason my machine now refuses to boot the baseline xen-unstable, so I''ve been unable to verify them....
2024 Nov 12
1
[RFC PATCH v1 00/10] mm: Introduce and use folio_owner_ops
...t; > > > I don't want you to respin. I think this is a bad idea. > > I'm hoping you'll find some more time to explain what exactly you don't > like, because this series only refactors what we already have. > > I enjoy seeing the special casing (especially hugetlb) gone from mm/swap.c. > > I don't particularly enjoy overlaying folio->lru, primarily because we have > to temporarily "evacuate" it when someone wants to make use of folio->lru > (e.g., hugetlb isolation). So it's not completely "sticky", at least for...
2018 Mar 20
2
[PATCH v2] virtio_balloon: export hugetlb page allocation counts
> On Mar 19, 2018, at 7:31 PM, Jason Wang <jasowang at redhat.com> wrote: > > > > On 2018?03?20? 06:14, Jonathan Helman wrote: >> Export the number of successful and failed hugetlb page >> allocations via the virtio balloon driver. These 2 counts >> come directly from the vm_events HTLB_BUDDY_PGALLOC and >> HTLB_BUDDY_PGALLOC_FAIL. >> >> Signed-off-by: Jonathan Helman <jonathan.helman at oracle.com> > > Reviewed-by: Jason Wang <j...
2018 Mar 22
2
[virtio-dev] Re: [PATCH v2] virtio_balloon: export hugetlb page allocation counts
...3?20? 12:26, Jonathan Helman wrote: > > > On Mar 19, 2018, at 7:31 PM, Jason Wang <jasowang at redhat.com> wrote: > > > > > > > > > > > > On 2018?03?20? 06:14, Jonathan Helman wrote: > > > > Export the number of successful and failed hugetlb page > > > > allocations via the virtio balloon driver. These 2 counts > > > > come directly from the vm_events HTLB_BUDDY_PGALLOC and > > > > HTLB_BUDDY_PGALLOC_FAIL. > > > > > > > > Signed-off-by: Jonathan Helman <jonathan.helman at...
2018 Apr 13
1
[PATCH] virtio_balloon: add array of stat names
...Thanks for doing this, this is goodness. Clients of this interface will now > only require a modification to their internal copy of the header file (if > they have one), rather than updating their string array as well. > > > > > Fixes: 6c64fe7f2 ("virtio_balloon: export hugetlb page allocation counts") > > I think this is a tad bit confusing since the only way you'd know why this > patch "fixes" 6c64fe7f2 is by reading the LKML archives and finding Jason's > comment. So ... add more stats as recently by commit 6c64fe7f2 ("virtio_...
2018 Apr 09
2
[virtio-dev] Re: [PATCH v2] virtio_balloon: export hugetlb page allocation counts
...te: >>>>> On Mar 19, 2018, at 7:31 PM, Jason Wang<jasowang at redhat.com>? wrote: >>>>> >>>>> >>>>> >>>>> On 2018?03?20? 06:14, Jonathan Helman wrote: >>>>>> Export the number of successful and failed hugetlb page >>>>>> allocations via the virtio balloon driver. These 2 counts >>>>>> come directly from the vm_events HTLB_BUDDY_PGALLOC and >>>>>> HTLB_BUDDY_PGALLOC_FAIL. >>>>>> >>>>>> Signed-off-by: Jonathan Helman...
2018 Mar 20
0
[PATCH v2] virtio_balloon: export hugetlb page allocation counts
On 2018?03?20? 06:14, Jonathan Helman wrote: > Export the number of successful and failed hugetlb page > allocations via the virtio balloon driver. These 2 counts > come directly from the vm_events HTLB_BUDDY_PGALLOC and > HTLB_BUDDY_PGALLOC_FAIL. > > Signed-off-by: Jonathan Helman <jonathan.helman at oracle.com> Reviewed-by: Jason Wang <jasowang at redhat.com> >...
2018 Mar 22
0
[virtio-dev] Re: [PATCH v2] virtio_balloon: export hugetlb page allocation counts
On 2018?03?20? 12:26, Jonathan Helman wrote: >> On Mar 19, 2018, at 7:31 PM, Jason Wang <jasowang at redhat.com> wrote: >> >> >> >> On 2018?03?20? 06:14, Jonathan Helman wrote: >>> Export the number of successful and failed hugetlb page >>> allocations via the virtio balloon driver. These 2 counts >>> come directly from the vm_events HTLB_BUDDY_PGALLOC and >>> HTLB_BUDDY_PGALLOC_FAIL. >>> >>> Signed-off-by: Jonathan Helman <jonathan.helman at oracle.com> >> Reviewed-by:...
2018 Mar 23
0
[virtio-dev] Re: [PATCH v2] virtio_balloon: export hugetlb page allocation counts
...:26, Jonathan Helman wrote: >>>> On Mar 19, 2018, at 7:31 PM, Jason Wang<jasowang at redhat.com> wrote: >>>> >>>> >>>> >>>> On 2018?03?20? 06:14, Jonathan Helman wrote: >>>>> Export the number of successful and failed hugetlb page >>>>> allocations via the virtio balloon driver. These 2 counts >>>>> come directly from the vm_events HTLB_BUDDY_PGALLOC and >>>>> HTLB_BUDDY_PGALLOC_FAIL. >>>>> >>>>> Signed-off-by: Jonathan Helman<jonathan.helman...
2024 Nov 13
2
[RFC PATCH v1 00/10] mm: Introduce and use folio_owner_ops
...I think this is a bad idea. > > > > > > I'm hoping you'll find some more time to explain what exactly you don't > > > like, because this series only refactors what we already have. > > > > > > I enjoy seeing the special casing (especially hugetlb) gone from mm/swap.c. I don't. The list of 'if's is better than the indirect function call. That's terribly expensive, and the way we reuse the lru.next field is fragile. Not to mention that it introduces a new thing for the hardening people to fret over. > > And, IMHO, se...
2018 Apr 11
0
[virtio-dev] Re: [PATCH v2] virtio_balloon: export hugetlb page allocation counts
...> On Mar 19, 2018, at 7:31 PM, Jason Wang<jasowang at redhat.com>? wrote: >>>>>> >>>>>> >>>>>> >>>>>> On 2018?03?20? 06:14, Jonathan Helman wrote: >>>>>>> Export the number of successful and failed hugetlb page >>>>>>> allocations via the virtio balloon driver. These 2 counts >>>>>>> come directly from the vm_events HTLB_BUDDY_PGALLOC and >>>>>>> HTLB_BUDDY_PGALLOC_FAIL. >>>>>>> >>>>>>> Signed-off...
2018 Apr 12
2
[virtio-dev] Re: [PATCH v2] virtio_balloon: export hugetlb page allocation counts
..., at 7:31 PM, Jason Wang<jasowang at redhat.com>? wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> On 2018?03?20? 06:14, Jonathan Helman wrote: >>>>>>>> Export the number of successful and failed hugetlb page >>>>>>>> allocations via the virtio balloon driver. These 2 counts >>>>>>>> come directly from the vm_events HTLB_BUDDY_PGALLOC and >>>>>>>> HTLB_BUDDY_PGALLOC_FAIL. >>>>>>>> >>>>>&gt...
2018 Apr 13
0
[virtio-dev] Re: [PATCH v2] virtio_balloon: export hugetlb page allocation counts
...; >>>>>>>> wrote: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On 2018?03?20? 06:14, Jonathan Helman wrote: >>>>>>>>> Export the number of successful and failed hugetlb page >>>>>>>>> allocations via the virtio balloon driver. These 2 counts >>>>>>>>> come directly from the vm_events HTLB_BUDDY_PGALLOC and >>>>>>>>> HTLB_BUDDY_PGALLOC_FAIL. >>>>>>>>> >&gt...
2008 Oct 31
1
HugeTLB support?
Has anyone tried getting wine to use HugeTLB yet? I see a real need for this for games.