/* If no young bitflag is supported by the hardware, ->clear_flush_young can unmap the address and return 1 or 0 depending if the mapping previously existed or not.  */
int __mmu_notifier_clear_flush_young(struct mm_struct *mm, unsigned long address)
/* If no young bitflag is supported by the hardware, ->clear_flush_young can unmap the address and return 1 or 0 depending if the mapping previously existed or not.  */
int __mmu_notifier_clear_flush_young(struct mm_struct *mm, unsigned long address)
{
	struct mmu_notifier *mn;
	struct hlist_node *n;
	int young = 0;
	rcu_read_lock();
	hlist_for_each_entry_rcu(mn, n, &mm->mmu_notifier_mm->list, hlist) {
		if (mn->ops->clear_flush_young)
			young |= mn->ops->clear_flush_young(mn, mm, address);
	}
	rcu_read_unlock();
	return young;
}