Trimming grass around Trees

I have hundreds of mature trees in my back yard. Some areas I keep the grass neatly trimmed right up to the trees but some trees are near river so I let the grass grow tall all around them. Which…