mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] maple_tree: remove struct maple_alloc
@ 2025-12-03 22:45 Sidhartha Kumar
  2025-12-04  2:56 ` Jinjie Ruan
  2025-12-16 21:32 ` Liam R. Howlett
  0 siblings, 2 replies; 3+ messages in thread
From: Sidhartha Kumar @ 2025-12-03 22:45 UTC (permalink / raw)
  To: linux-kernel, maple-tree; +Cc: akpm, liam.howlett, Sidhartha Kumar

struct maple_alloc is deprecated after the maple tree conversion to sheaves,
remove the references from the header file.

Signed-off-by: Sidhartha Kumar <sidhartha.kumar@oracle.com>
---
 include/linux/maple_tree.h | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/include/linux/maple_tree.h b/include/linux/maple_tree.h
index 66f98a3da8d8..1323c28a7470 100644
--- a/include/linux/maple_tree.h
+++ b/include/linux/maple_tree.h
@@ -129,13 +129,6 @@ struct maple_arange_64 {
 	struct maple_metadata meta;
 };
 
-struct maple_alloc {
-	unsigned long total;
-	unsigned char node_count;
-	unsigned int request_count;
-	struct maple_alloc *slot[MAPLE_ALLOC_SLOTS];
-};
-
 struct maple_topiary {
 	struct maple_pnode *parent;
 	struct maple_enode *next; /* Overlaps the pivot */
@@ -306,7 +299,6 @@ struct maple_node {
 		};
 		struct maple_range_64 mr64;
 		struct maple_arange_64 ma64;
-		struct maple_alloc alloc;
 	};
 };
 
-- 
2.43.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] maple_tree: remove struct maple_alloc
  2025-12-03 22:45 [PATCH] maple_tree: remove struct maple_alloc Sidhartha Kumar
@ 2025-12-04  2:56 ` Jinjie Ruan
  2025-12-16 21:32 ` Liam R. Howlett
  1 sibling, 0 replies; 3+ messages in thread
From: Jinjie Ruan @ 2025-12-04  2:56 UTC (permalink / raw)
  To: Sidhartha Kumar, linux-kernel, maple-tree; +Cc: akpm, liam.howlett



On 2025/12/4 6:45, Sidhartha Kumar wrote:
> struct maple_alloc is deprecated after the maple tree conversion to sheaves,
> remove the references from the header file.
> 
> Signed-off-by: Sidhartha Kumar <sidhartha.kumar@oracle.com>
> ---
>  include/linux/maple_tree.h | 8 --------
>  1 file changed, 8 deletions(-)
> 
> diff --git a/include/linux/maple_tree.h b/include/linux/maple_tree.h
> index 66f98a3da8d8..1323c28a7470 100644
> --- a/include/linux/maple_tree.h
> +++ b/include/linux/maple_tree.h
> @@ -129,13 +129,6 @@ struct maple_arange_64 {
>  	struct maple_metadata meta;
>  };
>  
> -struct maple_alloc {
> -	unsigned long total;
> -	unsigned char node_count;
> -	unsigned int request_count;
> -	struct maple_alloc *slot[MAPLE_ALLOC_SLOTS];
> -};
> -
>  struct maple_topiary {
>  	struct maple_pnode *parent;
>  	struct maple_enode *next; /* Overlaps the pivot */
> @@ -306,7 +299,6 @@ struct maple_node {
>  		};
>  		struct maple_range_64 mr64;
>  		struct maple_arange_64 ma64;
> -		struct maple_alloc alloc;


Reviewed-by: Jinjie Ruan <ruanjinjie@huawei.com>

>  	};
>  };
>  

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] maple_tree: remove struct maple_alloc
  2025-12-03 22:45 [PATCH] maple_tree: remove struct maple_alloc Sidhartha Kumar
  2025-12-04  2:56 ` Jinjie Ruan
@ 2025-12-16 21:32 ` Liam R. Howlett
  1 sibling, 0 replies; 3+ messages in thread
From: Liam R. Howlett @ 2025-12-16 21:32 UTC (permalink / raw)
  To: Sidhartha Kumar; +Cc: linux-kernel, maple-tree, akpm

* Sidhartha Kumar <sidhartha.kumar@oracle.com> [251203 17:45]:
> struct maple_alloc is deprecated after the maple tree conversion to sheaves,
> remove the references from the header file.
> 
> Signed-off-by: Sidhartha Kumar <sidhartha.kumar@oracle.com>

Looks like I didn't respond to this one.  Thanks Sid!

Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com>

> ---
>  include/linux/maple_tree.h | 8 --------
>  1 file changed, 8 deletions(-)
> 
> diff --git a/include/linux/maple_tree.h b/include/linux/maple_tree.h
> index 66f98a3da8d8..1323c28a7470 100644
> --- a/include/linux/maple_tree.h
> +++ b/include/linux/maple_tree.h
> @@ -129,13 +129,6 @@ struct maple_arange_64 {
>  	struct maple_metadata meta;
>  };
>  
> -struct maple_alloc {
> -	unsigned long total;
> -	unsigned char node_count;
> -	unsigned int request_count;
> -	struct maple_alloc *slot[MAPLE_ALLOC_SLOTS];
> -};
> -
>  struct maple_topiary {
>  	struct maple_pnode *parent;
>  	struct maple_enode *next; /* Overlaps the pivot */
> @@ -306,7 +299,6 @@ struct maple_node {
>  		};
>  		struct maple_range_64 mr64;
>  		struct maple_arange_64 ma64;
> -		struct maple_alloc alloc;
>  	};
>  };
>  
> -- 
> 2.43.0
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-12-16 21:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-03 22:45 [PATCH] maple_tree: remove struct maple_alloc Sidhartha Kumar
2025-12-04  2:56 ` Jinjie Ruan
2025-12-16 21:32 ` Liam R. Howlett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®